Hasilkan OTP acak di SQL Server

SELECT LEFT(CAST(RAND()*1000000000+999999 AS INT),5) as OTP;
Fortune Mbulazi