VALUE functions
Translation reference for DBMS_RANDOM.VALUE.
Last updated
Translation reference for DBMS_RANDOM.VALUE.
Last updated
The basic function gets a random number, greater than or equal to 0 and less than 1. Alternatively, you can get a random Oracle number
X
, whereX
is greater than or equal tolow
and less thanhigh
. ()
This UDF is implemented using the function of Javascript to replicate the functionality of Oracle DBMS_RANDOM.VALUE function.
The DBMS_RANDOM
schema must be created.
No parameters.
Oracle
low: The lowest NUMBER
from which a random number is generated. The number generated is greater than or equal to low
.
high: The highest NUMBER
used as a limit when generating a random number. The number generated will be less than high
.
No issues were found.
: DBMS_RANDOM.VALUE Built-In Package precision is lower in Snowflake.