Can we use RAND() Function in User Defined Function (UDF) in SQL Server?

Interview Question asked in SQL Server Dev. Interview Wipro Gurgaon.

Can we use RAND() Function in User Defined Function (UDF) in SQL Server?
Ans: No, Rand() function not allowed in UDF
You will face following error


Comments

Archive

Contact Form

Send