Skip to content

Instantly share code, notes, and snippets.

@DoubleBrotherProgrammer
Created September 2, 2009 19:10
Show Gist options
  • Save DoubleBrotherProgrammer/179910 to your computer and use it in GitHub Desktop.
Save DoubleBrotherProgrammer/179910 to your computer and use it in GitHub Desktop.
-- This is only a helper VIEW since currently you can not use RAND() in a UDF
-- USAGE : SELECT number FROM vRand
CREATE VIEW vRand
AS
SELECT RAND() AS 'number'
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment