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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章