Home Forums SQL Server 2005 T-SQL (SS2K5) Rand() function error RE: Rand() function error
mverma4you
Ten Centuries
Points: 1013
More actions
March 2, 2009 at 4:52 am
#951756
you are not allowed to use the RAND() function inside UDF function. To call the value of this function create a view with the single statement select RAND()
And then call that view inside your function.