DATALENGTH
Description
This function returns the number of bytes used to represent any expression. (DATALENGTH in Transact-SQL).
Sample Source Pattern
Syntax
DATALENGTH ( expression ) OCTET_LENGTH(<string_or_binary>)Examples
Code:
SELECT DATALENGTH('SomeString') AS SIZE;Result:
SIZE|
----+
10|Code:
SELECT OCTET_LENGTH('SomeString') AS SIZE;Result:
SIZE|
----+
10|Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated
