Results 1 to 2 of 2

Thread: Counting Rows

  1. #1
    Join Date
    Apr 2004

    Unanswered: Counting Rows

    Is there a way to get a SQL Stored Procedure to count the number of rows returned and then store that total in a variable?

  2. #2
    Join Date
    Feb 2004
    A procedure? Number of rows returned? From where/what?
    @@rowcount - Returns the number of rows affected by the last statement.

Posting Permissions

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