... 1964-08-08
How?
Precursor
You will need to be able to create the following view to generate random numbers on SQL Server.
-- Drop the view if it already exists
IF OBJECT_ID ('vwRandom', ...
... the following view to generate random numbers on SQL Server.
-- Used to reference RAND with in a function
CREATE VIEW dbo.vwRandom
AS
SELECT RAND() as RandomValue;
GO
The Function
Again ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.