Returns the length of the string in bytes.
OCTET_LENGTH(input varchar) → int32
- input: The string for which the length is returned.
SELECT OCTET_LENGTH('abc') -- 3
Was this page helpful?
Glad to hear it! Thank you for your feedback. Sorry to hear that. Thank you for your feedback.