This Oracle tutorial explains how to use the Oracle/PLSQL BIN_TO_NUM function with syntax and examples.
The Oracle/PLSQL BIN_TO_NUM function converts a bit vector to a number.
The syntax for the BIN_TO_NUM function in Oracle/PLSQL is:
Values that must be either 0 or 1. They represent bits in a bit vector.
The BIN_TO_NUM function returns a numeric value.
The BIN_TO_NUM function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle BIN_TO_NUM function examples and explore how to use the BIN_TO_NUM function in Oracle/PLSQL.
For example: