The COPIES function returns n copies of r that are concatenated together.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
UTL_RAW.COPIES (
r IN RAW,
n IN NUMBER)
RETURN RAW;
Parameters
| Parameter | Description |
|---|---|
| r | The RAW to be copied. |
| n | The number of times of copying the RAW, which must be a positive number. |
Return values
The RAW that has been copied for n times is returned.
Exceptions
| Exception | Description |
|---|---|
| VALUE_ERROR | Errors may occur in the following cases:
|