Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: generate random numbers
To expand on Jim's reply dbms_random has several randon value generator
options including
dbms_randon.randon integers in the range of negative 2 raised to the 31 power to positive 2 raised to the 31
dbms_randon.value numbers in the range of 0 to 1
dbms_randon.string random character strings
As Jim pointed out why would you want to write your own when Oracle has provided such rich functionality for you.
HTH -- Mark D Powell -- Received on Tue May 03 2005 - 08:24:38 CDT