[thelist] Free SQL Tip

Joshua Olson joshua at waetech.com
Wed Sep 1 05:09:02 CDT 2004


> -----Original Message-----
> From: Burhan Khalid
> Sent: Wednesday, September 01, 2004 2:23 AM
>

> I guess RAND() is a MySQL specific function?

Burhan,

No, RAND is not MySQL Specific.  SQL Server (T-SQL) has Rand as well, but
it's not very random.  It allows for a seed argument.  Without a random
seed, the results of the function aren't very random either.

This GUID method is just simply "more random" in practice.

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168




More information about the thelist mailing list