Open topic with navigation
Returns the number of bits that are set in the input expression.
BIT_COUNT(expression)
SELECT BITCOUNT(HEX_TO_BINARY('0x10'));
The above SQL returns:
BITCOUNT
----------------
1
Copyright © 2002-2023. Cloud Software Group, Inc. All Rights Reserved.