Posted by Erland Sommarskog on 06/09/07 19:19
chico_yallin@yahoo.com (chico_yallin@yahoo.com) writes:
> I just wana make a random id number based on4 digits-for examples??
checksum(newid()) is better than the rand() function.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|