Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » SQL Functions » Alphabetical list of functions

BASE64_ENCODE function [String] Next Page

BIT_LENGTH function [Bit array]

Returns the number of bits stored in the array.


BIT_LENGTH( bit-expression )


bit-expression    The bit expression for which the length is to be determined.

See also
Standards and compatibility

SQL/2003    Vendor extension.


The following statement returns the value 8:

SELECT BIT_LENGTH( '01101011' );