The RANDOM stored procedure generates a random number.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
DBMS_RANDOM.RANDOM
RETURN binary_integer;
Return values
| Return value | Description |
|---|---|
| binary_integer | A random integer in the range of [-2^31,2^31). |
Considerations
This procedure is deprecated. Although this procedure supported, we recommend that you do not use it.