May 2020
Beginner
564 pages
14h 9m
English
In Oracle, you can't use the same syntax for multiple-row inserts. Instead, you need to use an INSERT ALL syntax, as in the following query:
INSERT ALLINTO collegeplaying(playerID, schoolID, yearID) VALUES('blaloha01','sandiegost',2000)INTO collegeplaying(playerID, schoolID, yearID) VALUES('blaloha01','sandiegost',2001)INTO collegeplaying(playerID, schoolID, yearID) VALUES('blaloha01','sandiegost',2002)SELECT * FROM DUAL;
PostgreSQL and SQL Server allow the same syntax as MySQL for multiple-row inserts.
Read now
Unlock full access