Created
June 28, 2013 16:05
-
-
Save togakangaroo/5885847 to your computer and use it in GitHub Desktop.
Generate a list of numbers in sql server. Cause I aalways forget how to do this.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TOP 10 ROW_NUMBER() OVER (order by id) FROM sysobjects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment