<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Script error - Inserting multiple rows in one SQL statement. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012443#M4048260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks @Swapnil. the query worked.&lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Apr 2015 18:49:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-04-13T18:49:35Z</dc:date>
    <item>
      <title>Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaq-p/11012438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried using INSERT ALL INTO command inside Script. But getting below error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle &amp;lt;&amp;gt; error message for operation &amp;lt;OCIStmExecute&amp;gt;: &amp;lt;ORA-00928: missing SELECT keyword&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same query with single insert statement runs fine without any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ALL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO item (title) VALUES ('title5')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO item (title) VALUES ('title6')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO item (title) VALUES ('title7')&lt;/P&gt;&lt;P&gt;SELECT * FROM dual;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 18:37:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaq-p/11012438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-08T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012439#M4048256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Debasree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please split the INSERT ALL statement and check if they are working individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in the screenshot you are missing select * from dual; for first insert all statement. The error also suggests the same thing(Missing Select...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 07:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012439#M4048256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-09T07:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012440#M4048257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned before, if I split the command individually its working fine.&lt;/P&gt;&lt;P&gt;select * from dual is there in both statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought of using INSERT ALL to avoid multiple calls to db.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 15:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012440#M4048257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-09T15:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012441#M4048258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions ?? &lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 19:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012441#M4048258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-10T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012442#M4048259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual syntax is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ALL&lt;/P&gt;&lt;P&gt;&amp;nbsp; INTO suppliers (supplier_id, supplier_name) VALUES (1000, 'IBM')&lt;/P&gt;&lt;P&gt;&amp;nbsp; INTO suppliers (supplier_id, supplier_name) VALUES (2000, 'Microsoft')&lt;/P&gt;&lt;P&gt;&amp;nbsp; INTO suppliers (supplier_id, supplier_name) VALUES (3000, 'Google')&lt;/P&gt;&lt;P&gt;SELECT * FROM dual;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your non working query, you have applied comma after first INTO statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remove it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swapnil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 15:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012442#M4048259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-12T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Script error - Inserting multiple rows in one SQL statement.</title>
      <link>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012443#M4048260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks @Swapnil. the query worked.&lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1249/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 18:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/script-error-inserting-multiple-rows-in-one-sql-statement/qaa-p/11012443#M4048260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-04-13T18:49:35Z</dc:date>
    </item>
  </channel>
</rss>

