<?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: what is difference between single and  * from in sql Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950907#M391726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you are asking about select single and select endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single only fetch one row which meets the   where condition in your query.&lt;/P&gt;&lt;P&gt;if buffering is allowed for the table it is buffering in TABLP work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select endselect fetches multiple rows which meet the   where condition in your query.&lt;/P&gt;&lt;P&gt;if buffering is allowed for the table it is buffering in TABL work area.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 07:18:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-15T07:18:44Z</dc:date>
    <item>
      <title>what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950903#M391722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is difference between single and  * from in sql Query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950903#M391722</guid>
      <dc:creator>laxman_sankhla3</dc:creator>
      <dc:date>2007-02-15T07:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950904#M391723</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;Select * fetches all the records that suits the Where condition.&lt;/P&gt;&lt;P&gt;Where as&lt;/P&gt;&lt;P&gt;Select Single * fetches a SINGLE record from the Database  with the where condition. Genrally we use this when we pass a Key Field in where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:15:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950904#M391723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T07:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950905#M391724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Laxman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single fetches a &amp;lt;b&amp;gt;Single &amp;lt;/b&amp;gt;record.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fetches &amp;lt;b&amp;gt;all&amp;lt;/b&amp;gt; which follows the given criterion.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Jothi.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950905#M391724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950906#M391725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When we write "select single ",it means we will be selecting only a single record from the table and only a single record will satisfy the condition given in the where clause.&lt;/P&gt;&lt;P&gt;When we write "select *",it means we will be fetching all the records satisfying the condition in the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**Reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950906#M391725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T07:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950907#M391726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you are asking about select single and select endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single only fetch one row which meets the   where condition in your query.&lt;/P&gt;&lt;P&gt;if buffering is allowed for the table it is buffering in TABLP work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select endselect fetches multiple rows which meet the   where condition in your query.&lt;/P&gt;&lt;P&gt;if buffering is allowed for the table it is buffering in TABL work area.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950907#M391726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T07:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: what is difference between single and  * from in sql Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950908#M391727</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;Select single will fecth only one record at a time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SINGLE SELECT statement (single_select_statement) &lt;/P&gt;&lt;P&gt;A SINGLE SELECT statement (single_select_statement) specifies a result table with one row and assigns the values in this row to parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&amp;lt;single_select_statement&amp;gt; ::= &lt;/P&gt;&lt;P&gt;SELECT [&amp;lt;distinct_spec&amp;gt;] &amp;lt;select_column&amp;gt;,... &lt;/P&gt;&lt;P&gt;INTO &amp;lt;parameter_spec&amp;gt;,... FROM &amp;lt;from_table_spec&amp;gt;,...&lt;/P&gt;&lt;P&gt;[&amp;lt;where_clause&amp;gt;] [&amp;lt;group_clause&amp;gt;] [&amp;lt;having_clause&amp;gt;] [&amp;lt;lock_option&amp;gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explanation&lt;/P&gt;&lt;P&gt;The number of rows in the result table must not be greater than one. If the result table is empty or contains more than one row, corresponding messages or return codes are issued and no values are assigned to the parameters specified in the parameter specifications. The return code 100 &amp;#150; row not found - is set if the result table is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the result table contains just one row, the values of this row are assigned to the corresponding parameters. The FETCH statement rules apply for assigning the values to the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the GROUP and HAVING clauses is random.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A LONG column can be specified in a selected column select_column in the uppermost sequence of selected columns in a single select statement only if the DISTINCT specification distinct_spec DISTINCT was not used there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as select * will fetch all the records based on the condition &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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 07:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-difference-between-single-and-from-in-sql-query/m-p/1950908#M391727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T07:42:01Z</dc:date>
    </item>
  </channel>
</rss>

