DBMS_RANDOM.VALUE_UDF (DOUBLE, DOUBLE)

Definition

This user-defined function (UDF) is to replicate the functionality of the Oracle DBMS_RANDOM.VALUE function.

DBMS_RANDOM.VALUE_UDF(low DOUBLE, high DOUBLE)

Parameters

low DOUBLE

The initial limit to be considered.

high DOUBLE

The delimiting limit that coordinates with the first parameter.

Returns

Returns a double number with a random number between the limits specified.

Usage example

Input:

SELECT DBMS_RANDOM.VALUE_UDF(1.1, 2.2);

Output:

1.637802374

Last updated