The STRING function generates a random string.
Syntax
DBMS_RANDOM.STRING
opt IN CHAR,
len IN NUMBER)
RETURN VARCHAR2;
Parameters
Parameter |
Description |
|---|---|
| opt | Specifies the string to return. The rules are:
|
| len | Returns the length of a string. |
Return values
Return value |
Description |
|---|---|
| VARCHAR2 | A VARCHAR2 string is returned. |
