ORA-00928:当我尝试在Oracle数据库表中插入多个行时,缺少选择关键字
我正在尝试在Oracle表中插入多行,但是获取以下错误
ORA-00928: missing SELECT keyword
是我的插入语句
INSERT ALL
into COUNTRY ("CountryID","CountryName") values (1,'Germany')
into COUNTRY ("CountryID","CountryName") values (2,'United Kingdom')
into COUNTRY ("CountryID","CountryName") values (3,'United States')
into COUNTRY ("CountryID","CountryName") values (4,'Russia')
into COUNTRY ("CountryID","CountryName") values (5,'France')
into COUNTRY ("CountryID","CountryName") values (6,'Pakistan')
into COUNTRY ("CountryID","CountryName") values (7,'India')
into COUNTRY ("CountryID","CountryName") values (8,'Brazil')
into COUNTRY ("CountryID","CountryName") values (9,'Itly')
into COUNTRY ("CountryID","CountryName") values (10,'Iran'),
into COUNTRY ("CountryID","CountryName") values (11,'Austria')
SELECT 1 FROM DUAL;
I am trying to insert multiple rows in the oracle table but getting the following error
ORA-00928: missing SELECT keyword
Following are my insert statements
INSERT ALL
into COUNTRY ("CountryID","CountryName") values (1,'Germany')
into COUNTRY ("CountryID","CountryName") values (2,'United Kingdom')
into COUNTRY ("CountryID","CountryName") values (3,'United States')
into COUNTRY ("CountryID","CountryName") values (4,'Russia')
into COUNTRY ("CountryID","CountryName") values (5,'France')
into COUNTRY ("CountryID","CountryName") values (6,'Pakistan')
into COUNTRY ("CountryID","CountryName") values (7,'India')
into COUNTRY ("CountryID","CountryName") values (8,'Brazil')
into COUNTRY ("CountryID","CountryName") values (9,'Itly')
into COUNTRY ("CountryID","CountryName") values (10,'Iran'),
into COUNTRY ("CountryID","CountryName") values (11,'Austria')
SELECT 1 FROM DUAL;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
删除了一个“昏迷”:
Deleted one "coma":