<?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 stmt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263394#M779807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select single statement, you need to give all primary key to select unique records.  It is always selecting a single record based on your WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select up to one row  is mainly used for aggrecate function like sum up or count . It is also giving single record which is latest record in your table. if you wnat to retrival oldest one record, you need to use group by statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 20:17:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T20:17:19Z</dc:date>
    <item>
      <title>select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263391#M779804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference between select single and select up to 1 row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its urgent plz?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 13:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263391#M779804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263392#M779805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause If this results in multiple records then only the first one will be returned and therefore may not be unique. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that are defined by the WHERE clause or lack of, applies any aggregate, ordering or grouping functions to them and then returns the first record of the resultant result set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinodh Balakrishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 14:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263392#M779805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263393#M779806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kaladhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Both &lt;STRONG&gt;select single&lt;/STRONG&gt; and &lt;STRONG&gt;select up to 1 rows&lt;/STRONG&gt;  retrieves single record but the difference is in its usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually these select statements are used for screen validations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a particular field has check table then we use select single statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  a particular field doesn't have check table then we use select up to 1 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;shashikanth naram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 20:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263393#M779806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T20:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: select stmt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263394#M779807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select single statement, you need to give all primary key to select unique records.  It is always selecting a single record based on your WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select up to one row  is mainly used for aggrecate function like sum up or count . It is also giving single record which is latest record in your table. if you wnat to retrival oldest one record, you need to use group by statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 20:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-stmt/m-p/3263394#M779807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T20:17:19Z</dc:date>
    </item>
  </channel>
</rss>

