SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Scripts with tag generate numbers Rss

Search for any content tagged generate numbers

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Add a script

   Items 1 to 1 of 1   

Generate N sequential numbers (fast)

Use ROW_NUMBER() to efficiently generate a tally table. 
By Brian Bates 2013/06/13 | Source: SQLServerCentral.com | Category: tally table
Rating: |  Discuss |   Briefcase | 1,643 reads
   Items 1 to 1 of 1