<?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 meaning in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471306#M834425</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;Please explain me what exactly the follwing select statement doing.....and also can you please tell me the solution to avoid the select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT COUNT( * )&lt;/P&gt;&lt;P&gt;          FROM nast&lt;/P&gt;&lt;P&gt;          INTO l_count&lt;/P&gt;&lt;P&gt;         WHERE kappl = nast-kappl&lt;/P&gt;&lt;P&gt;           AND objky = nast-objky&lt;/P&gt;&lt;P&gt;           AND kschl = nast-kschl&lt;/P&gt;&lt;P&gt;           AND spras = nast-spras&lt;/P&gt;&lt;P&gt;           AND parnr = nast-parnr&lt;/P&gt;&lt;P&gt;           AND parvw = nast-parvw.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 07:21:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-12T07:21:15Z</dc:date>
    <item>
      <title>meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471306#M834425</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;Please explain me what exactly the follwing select statement doing.....and also can you please tell me the solution to avoid the select *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT COUNT( * )&lt;/P&gt;&lt;P&gt;          FROM nast&lt;/P&gt;&lt;P&gt;          INTO l_count&lt;/P&gt;&lt;P&gt;         WHERE kappl = nast-kappl&lt;/P&gt;&lt;P&gt;           AND objky = nast-objky&lt;/P&gt;&lt;P&gt;           AND kschl = nast-kschl&lt;/P&gt;&lt;P&gt;           AND spras = nast-spras&lt;/P&gt;&lt;P&gt;           AND parnr = nast-parnr&lt;/P&gt;&lt;P&gt;           AND parvw = nast-parvw.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 07:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471306#M834425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T07:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471307#M834426</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;COUNT(*) supplies the total number of values (rows in a result table or group)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It counts the number of entries in table NAST based on the condition&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>Wed, 12 Mar 2008 07:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471307#M834426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T07:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471308#M834427</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;count( * ) returns number of records&lt;/P&gt;&lt;P&gt;in table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT is a set function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        COUNT(*) supplies the total number of values (rows in a result table or group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;·        COUNT(DISTINCT )supplies the number of values that differ from the NULL value (number of values in the argument of the ALL function)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result has the data type FIXED(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example table: customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many customers are there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT COUNT (*) number FROM customer&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 07:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471308#M834427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471309#M834428</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;it will give u the total number o f records in the table NAST which are satisfying the conditions mentioned in the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 07:28:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471309#M834428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-12T07:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: meaning</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471310#M834429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Ginger&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the select statement you get the total number of records that are present in NAST that satisfy the WHERE condition. Instead of COUNT(*), you can use the system variable sy-dbcnt to determine the number of records that will be read using the select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 14:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning/m-p/3471310#M834429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T14:35:45Z</dc:date>
    </item>
  </channel>
</rss>

