지정된 범위에서 랜덤한 숫자 얻기

generates a random number
0-9
ABS(Checksum(NewID()) % 10)

1-6
ABS(Checksum(NewID()) % 6) + 1

3-6
ABS(Checksum(NewID()) % 4) + 3
Previous
Next Post »