Viewing 2 posts - 1 through 2 (of 2 total)
gregg_dn (1/3/2011)
DECLARE @CD TABLE (XMLData XML);
INSERT INTO @CD
SELECT *
FROM OPENROWSET(BULK N'C:\SQL\cd_catalog.xml', SINGLE_BlOB)
Msg 491, Level 16, State 1,...
January 3, 2011 at 9:57 am
#1268548
You will get much higher degree of uniqueness if you look at the least significant digits of your RAND() instead of the most significant.
In your Tally solution, simply changing LEFT()...
August 12, 2010 at 11:29 am
#1206225