SELECT TOP (100) n = ROW_NUMBER() OVER (ORDER BY number) FROM [master]..spt_values ORDER BY n;