The OCTET_LENGTH Function
Syntax for the OCTET_LENGTH function:
source-string is a character or binary string expression.
- OCTET_LENGTH returns an INTEGER value.
- If the data type of source-string is variable-length character or variable length binary, then the result of OCTET_LENGTH is the same as the actual length of source-string in octets.
- If the data type of source-string is fixed-length character or fixed-length binary, then the result of OCTET_LENGTH is the same as the fixed-length of source-string.
- If the value of source-string is NULL, then the result of the function is NULL.
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40