Bit_Length
Returns the length, in bits, of a specified string. Each Unicode
character is 2 bytes in length, which is equal to 16 bits.
Syntax
Bit_Length(strExpr)
Where:
strExpr
Any expression that evaluates to a character string.
Practical Usage in Answers Using the Paint Business Area
SELECT Markets.Region saw_0, bit_length(Markets.Region) saw_1,
bit_length('C') saw_2, bit_length('a') saw_3 FROM Paint ORDER BY saw_0, saw_1,
saw_2, saw_3
Comments
Post a Comment