Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: generate random numbers

Re: generate random numbers

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Tue, 03 May 2005 13:20:48 -0700
Message-ID: <1115151404.958981@yasure>


Vince <vincent@ wrote:

> hi there !
>
> I would like to use random numbers in my pl/sql code..
> do I really need to user dbms_random package or there is another to do
> so ?
> if so, how could I use dbms_random to generate positive random
> numbers??
>
> thanks a lot..
> Vince

Depends on the version of Oracle.

DBMS_RANDOM isn't really. Which is why, with 10g, true random number generation was built into the DBMS_CRYPTO package.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Tue May 03 2005 - 15:20:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US