Skip to content

Instantly share code, notes, and snippets.

@joseporiol
Created January 21, 2014 10:25
Show Gist options
  • Save joseporiol/8537625 to your computer and use it in GitHub Desktop.
Save joseporiol/8537625 to your computer and use it in GitHub Desktop.
Random number Generator on Oracle
--generate random number between 0 and 100
SELECT ROUND (DBMS_RANDOM.VALUE () * 100) + 1 AS random_num FROM DUAL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment