Counting records from SQL

Results 1 to 2 of 2

Thread: Counting records from SQL

  1. #1
    Steen Pedersen Guest

    Default Counting records from SQL

    How do I count the number of records from a SQL Server.<BR>The SELECT stmt could look like this:<BR>"SELECT * FROM TheTable WHERE TheFirstColumn = &#039Include&#039"<BR><BR>

  2. #2
    Nathen Grass Guest

    Default RE: Counting records from SQL

    Use:<BR><BR>SELECT COUNT(*) RecCount FROM Table WHERE TheFirstColumn=&#039Include&#039<BR><BR>This includes NULL values in the count<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •