Nomor acak TSQL

SELECT FLOOR(RAND()*(b-a+1))+a;
Homely Hyena