RANDOMINTEGER v17
The RANDOMINTEGER() function returns a random integer between 0 and 268,435,455. The signature is:
RANDOMINTEGER() RETURNS INTEGER
Examples
This example uses the RANDOMINTEGER function to return a cryptographically strong random INTEGER value:
DECLARE result INTEGER; BEGIN result := DBMS_CRYPTO.RANDOMINTEGER(); DBMS_OUTPUT.PUT_LINE(result); END;
- On this page
- Examples