Home Forums Article Discussions Article Discussions by Author Discuss content posted by Namwar Rizvi Quickly Generate Random number by TSQL with 99.9% Uniqueness Guarntee RE: Quickly Generate Random number by TSQL with 99.9% Uniqueness Guarntee
gitmo
Old Hand
Points: 379
More actions
September 24, 2009 at 2:07 pm
#1058260
I had the same issue.
I copied the code into TextPad and got rid of the leading "spaces" within the CTEs. For example, there are 4 characters at the beginning of the line "Select 1 as n" that aren't really spaces.
:w00t: