DBMS_RANDOM
The DBMS_RANDOM
package provides a built-in random number generator.
Table 7-5 describes the DBMS_RANDOM
subprograms.
Table 7-5 DBMS_RANDOM Subprograms
Subprogram | Description |
---|---|
|
Initializes the package with a seed value (deprecated). |
|
Returns random numbers in a normal distribution. |
|
Generates a random number (deprecated). |
|
Resets the seed. |
|
Gets a random string. |
|
Terminates the package (deprecated). |
|
There are two overloaded versions. In the first, it gets a random number greater than or equal to 0 and less than 1, with 38 digits to the right of the decimal point (38-digit precision). In the second, it gets a random number within specified low and high limits. |