|
Posted by Hugo Kornelis on 06/09/07 20:45
On Sat, 9 Jun 2007 19:19:45 +0000 (UTC), Erland Sommarskog wrote:
>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.
Hi Erland,
What exactly makes checksum(newid()) better than rand() ?
--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Navigation:
[Reply to this message]
|