BIT_LENGTH Function [String]

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

Syntax

BIT_LENGTHcolumn-name )

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 SAP 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 Function Support in Unstructured Data Analytics.

Standards and Compatibility

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

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