Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Script error - Inserting multiple rows in one SQL statement.

$
0
0

Hi,

 

Tried using INSERT ALL INTO command inside Script. But getting below error.

 

Oracle <> error message for operation <OCIStmExecute>: <ORA-00928: missing SELECT keyword>.

 

Same query with single insert statement runs fine without any issues.

 

Oracle eg:

 

INSERT ALL

    INTO item (title) VALUES ('title5')

    INTO item (title) VALUES ('title6')

    INTO item (title) VALUES ('title7')

SELECT * FROM dual;

 

Appreciate your suggestions.

 

Thx


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>