The BASE64_ENCODE function encodes the binary representation of a RAW value into a Base64 RAW string and returns the string.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
UTL_ENCODE.BASE64_ENCODE (
r IN RAW)
RETURN RAW;
Parameters
| Parameter | Description |
|---|---|
| r | The RAW value to be encoded. This parameter has no default values and this function has no optional parameters. |
Return values
| Return value | Description |
|---|---|
| RAW | The RAW value that contains the encoded Base64 elements. |