<?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: Native SQL to retrieve range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-to-retrieve-range/m-p/5871743#M1323370</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;Prepare your sql statement in ABAP , and execute it while activating the trace, &lt;/P&gt;&lt;P&gt;Then display trace and goto EXPLAIN SQL , here you will get the sql statement in native SQL ,now this statement will differ from the database you want to run the native sql on since, the statement you get will be native to the database your sap server is running on &lt;/P&gt;&lt;P&gt;But it should be similar . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2009 05:08:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-17T05:08:28Z</dc:date>
    <item>
      <title>Native SQL to retrieve range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-to-retrieve-range/m-p/5871742#M1323369</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;I have an requirement in which i need to retreive the data from oracle database(ODS) using native sql.&lt;/P&gt;&lt;P&gt;In the selection screen iam giving select option for lotid. Based on the lotid i need to retrieve the data from ODS.&lt;/P&gt;&lt;P&gt;If the user enters range for eg 1 to 5, how can i use that range in native sql query?&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;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 01:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-to-retrieve-range/m-p/5871742#M1323369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T01:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL to retrieve range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-to-retrieve-range/m-p/5871743#M1323370</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;Prepare your sql statement in ABAP , and execute it while activating the trace, &lt;/P&gt;&lt;P&gt;Then display trace and goto EXPLAIN SQL , here you will get the sql statement in native SQL ,now this statement will differ from the database you want to run the native sql on since, the statement you get will be native to the database your sap server is running on &lt;/P&gt;&lt;P&gt;But it should be similar . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2009 05:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-to-retrieve-range/m-p/5871743#M1323370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-17T05:08:28Z</dc:date>
    </item>
  </channel>
</rss>

