OCTET_LENGTH
functionsupportedCore SQL functionsReturns the length of a string or binary value in bytes. This will be the same as LENGTH for ASCII strings and greater than LENGTH for strings using Unicode code points. For binary, this is always the same as LENGTH.
Syntax
OCTET_LENGTH(<string_or_binary>)
Parameters
| Name | Required | Description |
|---|---|---|
string_or_binary | required | The string or binary value for which the length is returned. |