DATALENGTH
Returns the number of bytes that composing the argument.
Syntax​
DATALENGTH ( expression )
Arguments​
expression
A valid expression.
Return Type​
Returns values of type INT64.
Examples​
Examples in this section use the example blockchain.
The following example returns data length of "chapter".
SELECT DATALENGTH("chapter");
Response:
DATALENGTH("dinosaur") [INT64]
8