Brian's Blog

items I see across my tribes

SQL Server UDF for Random Number

July 22
by briancarter 22. July 2010 07:37

Can’t use RAND() in function.  Combine a view + UDF to make it work.  See attached SQL Script.

SQLRandomNumberUDF.sql (2.96 kb)

Categories: Development

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading




 Questions or Feedback, my contact information is located on my About page.


The opinions, thoughts, and comments made in these blog posts are solely my own (unless otherwise stated). They do not reflect the opinions, thoughts or practices of my employer, my universities, my family, or anyone else. Also, I retain the right to change my mind about anything I publish here without having to go back and edit posts that occurred in the past. 

These are my opinions, or just as likely, someone else's opinions that I leveraged for my own.