Oracle PL/SQL/Numeric Math Functions/BITAND
Содержание
BITAND(0, 1)
SQL> select BITAND(0, 1) from dual;
BITAND(0,1)
-----------
0
BITAND(1, 0)
SQL>
SQL> select BITAND(1, 0) from dual;
BITAND(1,0)
-----------
0
SQL>
BITAND()
SQL> select BITAND(1010, 1100) from dual;
BITAND(1010,1100)
-----------------
64
SQL>
BITAND(1, 1)
SQL> select BITAND(1, 1) from dual;
BITAND(1,1)
-----------
1
SQL>
BITAND(x, y): Returns the result of performing a bitwise AND on x and y
SQL> -- BITAND(x, y): Returns the result of performing a bitwise AND on x and y.
SQL>
SQL> select BITAND(0, 0) from dual;
BITAND(0,0)
-----------
0
SQL>