Mega Code Archive

 
Categories / MSSQL Tutorial / Math Functions
 

RAND Returns random number from 0 to 1

4> 5> 6> select CEILING(RAND()*100) 7> GO ------------------------                       51 (1 rows affected) 1>