Liczba losowa TSQL
SELECT FLOOR(RAND()*(b-a+1))+a;
Homely Hyena
SELECT FLOOR(RAND()*(b-a+1))+a;
ABS(CHECKSUM(NewId())) % 14