Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Scripts with tag Tally Table Rss

Search for any content tagged tally table

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 5 of 5   


A brand new, high-performing, "GetNumbers" or "fnTallyTable" function that can be used for defeating RBAR.  Read more...
By Alan Burstein 2016/04/19 | Source: | Category: set based
Rating: |  Discuss |   Briefcase | 554 reads


A fun, but simple tally table for April 1.  Read more...
By Steve Jones 2016/04/01 | Source: | Category: tally table
Rating: |  Discuss |   Briefcase | 693 reads

Generate N sequential numbers (fast)

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

Generate consecutive numbers

TSQL code that generates numbers (tally table) from 1 to N without using any tables  Read more...
By Peter Diplaros 2012/03/01 | Source: | Category: cross join
Rating: |  Discuss |   Briefcase | 1,702 reads

Using GO Repeat To Fill Tally Table

Fill a small Tally table with a 1 column primary key using GO keyword to repeat an insert.  Read more...
By Keith Wiggans 2010/08/18 | Source: | Category: go
Rating: |  Discuss |   Briefcase | 1,465 reads
   Items 1 to 5 of 5