The STRING function returns a random string.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this function.
Syntax
DBMS_RANDOM.STRING
opt IN CHAR,
len IN NUMBER)
RETURN VARCHAR2;
Parameters
| Parameter | Description |
|---|---|
| opt | Specifies the type of the returned string. Valid values:
|
| len | The length of the returned string. |
Return value
| Parameter | Description |
|---|---|
| VARCHAR2 | Returns a VARCHAR2 value. |
