<?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>topic Re: Bulk Insert using Native SQL or CL_SQL_PREPARED_STATEMENT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962347#M1490083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really isn't a native SQL question. Native SQL simply allows you to enter directly an SQL command that is &lt;U&gt;specific to your database.&lt;/U&gt; Since your database is Oracle, I suggest you find an Oracle forum and ask it there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jun 2010 18:12:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-14T18:12:00Z</dc:date>
    <item>
      <title>Bulk Insert using Native SQL or CL_SQL_PREPARED_STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962346#M1490082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP Open SQL provides the ability to insert multiple rows into a SAP database table using a single SQL statement :  INSERT....FROM TABLE...The major advantage of this is performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a similar function for Native SQL? Or by using the ADBC functions(OO methods)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to do a mass insert of an internal table into a non-SAP table that exists in an external Oracle database. Inserting one row at a time is causing a major performance issue. I am currently using class CL_SQL_PREPARED_STATEMENT to perform one insert per row in an internal table, but now require the ability to do mass inserts.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 17:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962346#M1490082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T17:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Insert using Native SQL or CL_SQL_PREPARED_STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962347#M1490083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really isn't a native SQL question. Native SQL simply allows you to enter directly an SQL command that is &lt;U&gt;specific to your database.&lt;/U&gt; Since your database is Oracle, I suggest you find an Oracle forum and ask it there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 18:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962347#M1490083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-14T18:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Insert using Native SQL or CL_SQL_PREPARED_STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962348#M1490084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, but I disagree that it's not a native SQL question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The crux of the problem is the ability to use an internal table in a native SQL statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone could provide information on how to you would execute a mass insert into a remote database using Native SQL or the CL_SQL* classes, please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962348#M1490084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T11:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Insert using Native SQL or CL_SQL_PREPARED_STATEMENT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962349#M1490085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - on the surface it is a native SQL question, but you are basically asking how to create an interface between ABAP and Oracle. That interface is ABAP open SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this isn't the answer you want. If you'd like, I can move this thread to the &lt;SPAN __jive_macro_name="forum" id="234"&gt;&lt;/SPAN&gt; forum. Some of the people who monitor that know a lot more about databases than I do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 13:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bulk-insert-using-native-sql-or-cl-sql-prepared-statement/m-p/6962349#M1490085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T13:06:05Z</dc:date>
    </item>
  </channel>
</rss>

