The REVERSE function reverses the byte sequence in the RAW r parameter.
For example, the string 'nba' is reversed to 'abn'. The length of the result is the same as the input RAW length.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
UTL_RAW.REVERSE (
r IN RAW)
RETURN RAW;
Parameters
Parameter |
Description |
|---|---|
| r | The RAW value to be reversed. |
Return value
Return value |
Description |
|---|---|
| RAW | The reversed value of r. |
Exceptions
Exception |
Description |
|---|---|
| VALUE_ERROR | r is NULL or has a length of 0. |
