Description
This function returns the number of bytes used to represent any expression. ().
Sample Source Pattern
Syntax
DATALENGTH ( expression )
OCTET_LENGTH(<string_or_binary>)
Examples
Code:
SELECT DATALENGTH('SomeString') AS SIZE;
Result:
Code:
SELECT OCTET_LENGTH('SomeString') AS SIZE;
Result: