The BYTE_LENGTH64 function returns an unsigned 64 bit value containing the byte length of the LONG BINARY column parameter.
BYTE_LENGTH64( large-object-column )
large-object-column The name of a LONG BINARY column.
The BYTE_LENGTH64 function also supports the LONG VARCHAR data type.