<?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: Open &amp; Native SQL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037447#M965043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Native SQL is Native to that data base server&lt;/P&gt;&lt;P&gt;SQL structured query langauge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are useing oracel.&lt;/P&gt;&lt;P&gt;u can write oracel commands to feach data in ur abap program.&lt;/P&gt;&lt;P&gt;these commends are call native SQL commands to that serve.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      nativesql -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open sql.&lt;/P&gt;&lt;P&gt; these commands can feach data from any database sever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there are called open sql statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open sql--&lt;DEL&gt;&amp;gt;databse utility&lt;/DEL&gt;---&amp;gt;nativesql -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 13:09:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-24T13:09:18Z</dc:date>
    <item>
      <title>Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037442#M965038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can anybody give me the exact Difference between Open SQL &amp;amp; Native SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037442#M965038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037443#M965039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open SQL allows us to access database tables declared in the ABAP Dictionary regardless of the database platform that our R/3 System is using. Native SQL allows us to use database-specific SQL statements in an ABAP program. This means that we can use database tables that are not administered by the ABAP Dictionary, and therefore integrate data that is not part of the R/3 System.&lt;/P&gt;&lt;P&gt;Native SQL statements must be within u2018EXEC SQLu2019 and u2018ENDEXECu2019.&lt;/P&gt;&lt;P&gt;EXEC SQL [PERFORMING &amp;lt;form&amp;gt;].&lt;/P&gt;&lt;P&gt;  &amp;lt;Native SQL statement&amp;gt;&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037443#M965039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037444#M965040</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;Go through this links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5377724"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;       &lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3969358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3969358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3b8b358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Syed  Abdul Adil on Jun 24, 2008 3:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037444#M965040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037445#M965041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii! &lt;/P&gt;&lt;P&gt;   Open SQL is basically SAP specific Structured Query language.Open SQL consists of a set of ABAP statements that perform operations on the central database in the R/3 System. The results of the operations and any error messages are independent of the database system in use. Open SQL thus provides a uniform syntax and semantics for all of the database systems supported by SAP. ABAP programs that only use Open SQL statements will work in any R/3 System, regardless of the database system in use. Open SQL statements can only work with database tables that have been created in the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native SQL is basically a database specific language.&lt;/P&gt;&lt;P&gt;Open SQL allows you to access database tables declared in the ABAP Dictionary regardless of the database platform that you R/3 System is using. Native SQL allows you to use database-specific SQL statements in an ABAP program. This means that you can use database tables that are not administered by the ABAP Dictionary, and therefore integrate data that is not part of the R/3 System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a rule, an ABAP program containing database-specific SQL statements will not run under different database systems. If your program will be used on more than one database platform, only use Open SQL statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use a Native SQL statement, you must precede it with the EXEC SQL statement, and follow it with the ENDEXEC statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC SQL [PERFORMING &amp;lt;form&amp;gt;].&lt;/P&gt;&lt;P&gt;  &amp;lt;Native SQL statement&amp;gt;&lt;/P&gt;&lt;P&gt;ENDEXEC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037445#M965041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037446#M965042</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;&lt;/P&gt;&lt;P&gt;ABAP Native SQL allows you to include database-specific SQL statements in an ABAP program. &lt;/P&gt;&lt;P&gt;Most ABAP programs containing database-specific &lt;/P&gt;&lt;P&gt;SQL statements do not run with different databases. &lt;/P&gt;&lt;P&gt;If different databases are involved, use Open SQL. &lt;/P&gt;&lt;P&gt;To execute ABAP Native SQL in an ABAP program, &lt;/P&gt;&lt;P&gt;use the statement EXEC. Open SQL (Subset of standard SQL statements), allows you to access all database tables available in the R/3 System, &lt;/P&gt;&lt;P&gt;regardless of the manufacturer. &lt;/P&gt;&lt;P&gt;To avoid conflicts between database tables and to keep ABAP programs independent from the database system used, SAP has generated its own set of SQL statements known as Open SQL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Snehi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037446#M965042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037447#M965043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Native SQL is Native to that data base server&lt;/P&gt;&lt;P&gt;SQL structured query langauge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are useing oracel.&lt;/P&gt;&lt;P&gt;u can write oracel commands to feach data in ur abap program.&lt;/P&gt;&lt;P&gt;these commends are call native SQL commands to that serve.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      nativesql -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open sql.&lt;/P&gt;&lt;P&gt; these commands can feach data from any database sever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so there are called open sql statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open sql--&lt;DEL&gt;&amp;gt;databse utility&lt;/DEL&gt;---&amp;gt;nativesql -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037447#M965043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037448#M965044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP Native SQL allows you to include database-specific SQL statements in an ABAP program. &lt;/P&gt;&lt;P&gt;Most ABAP programs containing database-specific SQL statements do not run with different databases. If different databases are involved, use Open SQL. &lt;/P&gt;&lt;P&gt;To avoid conflicts between database tables and to keep ABAP programs independent from the database system used, SAP has generated its own set of SQL statements known as Open SQL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037448#M965044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037449#M965045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Native SQL is database specific, which means, it recognizes only those commands pertaining to the underlying database in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open SQL, not being database specific convert the Open SQL commands into the underlying database commands using the database interface. In simple terms, the database interface translates the Open SQL commands into Native SQL commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Native SQL commands bypass the database interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;I.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037449#M965045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037450#M965046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037450#M965046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Open &amp; Native SQL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037451#M965047</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;Even if you marked your question as solved I would like to mention one point: Do not use native SQL if there is not a very good reason. Of course you will need it if you want to manipulate data outside the SAP system. But by using Native SQL you loose a lot of features OpenSQL offers. Syntax checking, type checks and so on can't be provided for Native SQL in the same way. And in the case you ever want to migrate to a different database you have to rewrite the statements.&lt;/P&gt;&lt;P&gt;But of course there are places where Native SQL has to be used. Use it with care and it's a very powerfull tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan Stallkamp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 13:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-native-sql/m-p/4037451#M965047</guid>
      <dc:creator>JanStallkamp</dc:creator>
      <dc:date>2008-06-24T13:28:40Z</dc:date>
    </item>
  </channel>
</rss>

