Home Forums Article Discussions Article Discussions by Author Discuss content posted by mverma4you TSQL RE: TSQL
Lynn Pettis
SSC Guru
Points: 442467
More actions
April 13, 2009 at 8:31 am
#976640
There is, of course, a way around this problem. Simply build a view that returns the value of the function RAND() and use the view in your UDF.
You can find an example using NEWID() in my blog A Variable Length Random String.