SQL>
SQL> v_random_nr:= dbms_random.random;
SQL>
SQL> Returns a random integer value in the range of ?^31 to 2^31.
SQL>
SQL> declare
2 v2_nr binary_integer:=dbms_random.random;
3 begin
4 DBMS_OUTPUT.put_line('Int:'||v2_nr);
5 end;
6 /
Int:-1254017024