Go to main content
BIN_TO_NUM converts a bit vector to its equivalent number.
BIN_TO_NUM(expr [, expr ]... )
expr is a numeric expression with a value of 0 or 1 for the value of a bit in the bit vector.
BIN_TO_NUM(1,0,1,0) returns the value