SQL-J Language Reference,
Page 62 of 118


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

BIT_LENGTH

BIT_LENGTH acts on either a character string expression or a bit string expression and returns the number of bits in the result.

Syntax

BIT_LENGTH ( { CharacterExpression | BitExpression } )

Example

BIT_LENGTH('zz') -- returns 32
BIT_LENGTH(X'55') -- returns 8
BIT_LENGTH(B'111') -- returns 3
[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.