OCTET_LENGTH function [String]

Function

Returns an unsigned 64-bit value containing the byte length of the column parameter.

Syntax

OCTET_LENGTH( column-name )

Parameters

column-name The name of a column.

Usage

The return value of a NULL argument is NULL.

The OCTET_LENGTH function supports all Sybase IQ data types.

Standards and compatibility

Sybase Not supported by Adaptive Server Anywhere or Adaptive Server Enterprise.

See also

“BIT_LENGTH function [String]”