Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Browse by Tags

All Tags » SQL Server » Advice
  • Numbering the Rows Returned from a SQL Query

    Outside of SQL it would be quite easy to number the rows returned from query, but to do so inside of the SQL is a bit more difficult. I recently wanted to be able to number the rows returned from a query in a stored procedure. I am using SQL Server 2000, so I cannot use row_number(). I was going to ask my go to SQL guy, Gregg Stark, how to do ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on October 1, 2007