bitand函数

--bitand函数

--语法
BITAND(expr1, expr2)

--用法:位与
The BITAND function treats its inputs and its output as vectors of bits; the output is the bitwise AND of the inputs.
SYS@PROD3> select bitand(4,4) from dual;

BITAND(4,4)
-----------
	  4

SYS@PROD3> select bitand(4,3) from dual;

BITAND(4,3)
-----------
	  0

SYS@PROD3> select bitand(4,6) from dual;

BITAND(4,6)
-----------
	  4

发布了178 篇原创文章 · 获赞 12 · 访问量 23万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章