<?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: SELECT Statement in Native SQL and Open Sql ( ABAP Select) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530563#M1750601</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;If the database is ORACLE you can do a EXEC SQL to execute a select native Oracle, whereas Oracle has a special clause for this type of select, but I've tried to compare the ABAP open SQL and Oracle Native nor is such difference or the performance gain is so high that it is worth the loss in time to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And few people know what complicates maintenance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 00:25:59 GMT</pubDate>
    <dc:creator>ronaldo_aparecido</dc:creator>
    <dc:date>2013-06-19T00:25:59Z</dc:date>
    <item>
      <title>SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530560#M1750598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;&lt;SPAN style="font-family: georgia, palatino; font-size: 12pt; color: #000000;"&gt;Can anybody please tell the differences between the Select Statement in ABAP and In Native SQL ?&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: georgia, palatino; font-size: 12pt; color: #000000;"&gt;I have worked with SQL Server for more than 3 years. Sometimes i get confused about the behavior of SELECT statement in ABAP. I try to compare the SELECT in SQL SERVER and SELECT in ABAP.. and result is confusion in many scenarios ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #993300; font-family: georgia, palatino; font-size: 16px;"&gt;So anybody who can explain them better please reply to this post and share your knowledge &lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1581/images/emoticons/happy.gif" style="color: #993300; font-family: georgia, palatino; font-size: 16px;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #993300; font-family: georgia, palatino; font-size: 16px;"&gt;.. &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 18:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530560#M1750598</guid>
      <dc:creator>former_member9607</dc:creator>
      <dc:date>2013-06-18T18:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530561#M1750599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have specific Open SQL statements you'd like to evaluate you could try using transaction ST05 to trace the SQL. In there you can see the native SQL and explain plan. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 20:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530561#M1750599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T20:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530562#M1750600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnakanth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is one layer between application server and data base server called data base interface in sap.Data base interface convert abap open sql statement into corresponding data base select statement so that program is data base independent.So there is minor difference between &lt;/P&gt;&lt;P&gt;&amp;nbsp; abap and sql server select statement. In sap also we can write data base dependent select query called as native sql. For more details &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/content.htm" title="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In sap we can see converted sql statement by interface in tool called sql trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 20:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530562#M1750600</guid>
      <dc:creator>former_member219762</dc:creator>
      <dc:date>2013-06-18T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530563#M1750601</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;If the database is ORACLE you can do a EXEC SQL to execute a select native Oracle, whereas Oracle has a special clause for this type of select, but I've tried to compare the ABAP open SQL and Oracle Native nor is such difference or the performance gain is so high that it is worth the loss in time to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And few people know what complicates maintenance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 00:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530563#M1750601</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2013-06-19T00:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530564#M1750602</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;If you want to compare these two, I definistly recommand you to use Open SQL anywhere in your ABAP program, because it will improve your performance of your program by using system cash of SAP system, which Native SQL can not achive.&amp;nbsp; Fetch array is very comman in Oper SQL which used for Extract Data from database such as SELECT * FROM MARA INTO TABLE itab, for update and modify data to database such as MODIFY dbtab FROM TABLE itab.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If native sql&amp;nbsp; process rows of data, it will process one by one,&amp;nbsp; its network is very costly to compare with Open SQL.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 01:52:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530564#M1750602</guid>
      <dc:creator>former_member186413</dc:creator>
      <dc:date>2013-06-19T01:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530565#M1750603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishnakant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here - &lt;A _jive_internal="true" href="https://answers.sap.com/people/tuncay.karaca/blog/2006/06/26/open-sql-vs-native-sql"&gt;http://scn.sap.com/people/tuncay.karaca/blog/2006/06/26/open-sql-vs-native-sql&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; &lt;A class="jive-link-external-small" href="http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/content.htm" style="font-size: 12px; background-color: #ffffff; color: #3778c7;"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/content.htm&lt;/A&gt; (already above).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open SQL makes the SAP ECC independent of the underlying database i.e. it can be Oracle, DB2, etc. Whatever statements we write in ABAP Programs are generally in Open SQL which are converted to Native SQL depending on the native DB connected. This offers a layer of abstraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 02:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-in-native-sql-and-open-sql-abap-select/m-p/9530565#M1750603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-19T02:47:20Z</dc:date>
    </item>
  </channel>
</rss>

