BIT_LENGTH Function [String]

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

Syntax

BIT_LENGTHcolumn-name )

Parameters

Parameters

Parameter

Description

column-name

The name of a column

Returns

INT

Usage

The return value of a NULL argument is NULL.

The BIT_LENGTH function supports all Sybase IQ data types.

If you are licensed to use the Unstructured Data Analytics functionality, you can use this function with large object data.

See Unstructured Data Analytics in Sybase IQ > Function Support.

Standards and Compatibility

  • SQL—Vendor extension to ISO/ANSI SQL grammar.

  • Sybase—Not supported by SQL Anywhere or Adaptive Server Enterprise.

Related reference
BYTE_LENGTH Function [String]
CHAR_LENGTH Function [String]
COL_LENGTH Function [System]
DATALENGTH Function [System]
LEN Function [String]
LENGTH Function [String]
OBJECT_NAME Function [System]
OCTET_LENGTH Function [String]
STR_REPLACE Function [String]