SQL 2015. 4. 14. 11:59

SQL 랜덤 함수

DECLARE @min INT = 1

DECLARE @max INT = 100


SELECT   ROUND( ( (@max + 1) - @min ) * RAND() + @min , 0, 1)