Query
SELECT 0.28 +
(SELECT ((ROUND((RandumNumber.RandumNumber*100)/3,0))/100) -
(ROUND((RandumNumber.RandumNumber*100)/25,0)/100)
FROM (SELECT (ABS(CHECKSUM(NEWID()))%100)/100.0 AS RandumNumber)RandumNumber)
GO 5
|
Output
Reference
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=190503
No comments:
Post a Comment