Mega Code Archive
Categories
/
MSSQL Tutorial
/
Math Functions
RAND Generates a random number between 0 and 1, which is returned as a float
4> SELECT RAND() 5> GO ------------------------ 0.16134333864034361 (1 rows affected)