Dynamic Number Table

Posted by Derek D. on SQL Server Planet See other posts from SQL Server Planet or by Derek D.
Published on Sun, 11 Apr 2010 01:43:37 +0000 Indexed on 2010/04/11 1:43 UTC
Read the original article Hit count: 340

Filed under:
Using a numbers table is helpful for many things. Like finding gaps in a supposed sequence of primary keys, or generating date ranges or any numerical range. In some cases, you will be in a production system that does not already contain a numbers table and you will also be unable to add [...]

© SQL Server Planet or respective owner

Related posts about sql