Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    6

    Unanswered: line numbering in result set

    Does anybody know how I can get a row count in the result of my query.
    So first column should be 1, 2, 3 ....

    Thanks,
    Boontje

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Since you appear to be using Microsoft SQL Server, I'd take the suggestion from Kaiowas in your posting in that forum. You may get a lot of confusing answers here from people that don't know which database engine you are using.

    -PatP

  3. #3
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    FYI duplicate posts in multiple forums will be deleted

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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