Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Q: Inserting multiple rows with one INSERT??
Hello everyone,
the html documentation of Oracle 8i contains a syntax definition for the
INSERT statement. There it is shown, that a single INSERT statement can have multiple VALUES-clauses, separated by commas. Thus, it should be possible to insert multiple rows into a table using only one INSERT statement, shouldn't it??
I tried this, following the syntax definition, but it didn't work:
INSERT INTO test VALUES ('aaa', 'bbb'), VALUES ('ccc', 'ddd');
produces an error message. Why?
Thanks for your help,
Thilo Frotscher
--
Thilo Frotscher
Java - Internet - Datenbanken - Windows - Unix
![]() |
![]() |