|
|
The BIT_LENGTH Function
Syntax for the BIT__LENGTH function:
source-string is a character or binary string expression.
Rules:
- BIT_LENGTH returns an INTEGER value.
- If the data type of source-string is variable-length character or variable-length binary, then the result of BIT_LENGTH is the same as the actual length of source-string multiplied with 8. (The number of bits in an octet)
- If the data type of source-string is fixed-length character or fixed-length binary, then the result of BIT_LENGTH is the same as the fixed-length of source-string multiplied by 8.
- If the value of source-string is NULL, then the result of the function is NULL.
|
Upright Database Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 dbtechnology@upright.se |
|
|