自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Oracle bitand( )函數(shù)簡介

數(shù)據(jù)庫 Oracle
在Oracle數(shù)據(jù)庫中,bitand( )函數(shù)返回兩個數(shù)值型數(shù)值在按位進行AND運算后的結(jié)果,下面就讓我們一起來了解一下Oracle bitand( )函數(shù)的語法。

Oracle bitand( )函數(shù)在Oracle數(shù)據(jù)庫中是很常見的,下面就為您詳細介紹Oracle bitand( )函數(shù)的用法,如果您感興趣的話,不妨一看。

Oracle bitand( )函數(shù):

返回兩個數(shù)值型數(shù)值在按位進行AND 運算后的結(jié)果。
語法
BITAND(nExpression1, nExpression2)
參數(shù)
nExpression1, nExpression2
 
指定按位進行AND 運算的兩個數(shù)值。如果 nExpression1 和 nExpression2 為非整數(shù)型,那么它們在按位進行 AND 運算之前轉(zhuǎn)換為整數(shù)。
 
Oracle bitand( )函數(shù)返回值類型:
數(shù)值型
 
說明
BITAND( ) 將 nExpression1 的每一位同 nExpression2 的相應(yīng)位進行比較。如果 nExpression1 和 nExpression2 的位都是 1,相應(yīng)的結(jié)果位就是 1;否則相應(yīng)的結(jié)果位是 0。

下表列出對 nExpression1 和 nExpression2 按位進行 AND 運算的結(jié)果:
 
nExpression1 位 nExpression2 位 結(jié)果位 
0 0 0 
0 1 0 
1 1 1 
1 0 0 
bitand( ) 函數(shù)示例
x = 5&& 二進制為 0101
y = 6&& 二進制為 0110
? bitand(x,y) && 返回值 4,二進制為 0100

-----------------------------------------------------------------------------

以上就是Oracle bitand( )函數(shù)的語法介紹。

 

 

【編輯推薦】

oracle聚合函數(shù)的使用

計算時間差的Oracle函數(shù)

oracle自定義函數(shù)的使用

Oracle TRIM函數(shù)語法介紹

Oracle日期函數(shù)簡介

責任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-10-25 15:12:42

Oracle日期函數(shù)

2010-10-25 17:39:24

Oracle單行日期函

2011-04-12 13:27:09

Oracle日期函數(shù)

2010-10-25 14:47:49

Oracle系統(tǒng)變量函

2010-04-27 12:51:49

Oracle 函數(shù)de

2010-04-01 09:34:06

Oracle函數(shù)

2009-11-18 16:43:59

2009-11-19 11:00:55

Oracle xmlt

2010-10-28 10:54:46

oracle對象權(quán)限

2010-11-15 12:02:24

Oracle進程結(jié)構(gòu)

2009-11-16 11:03:44

Oracle INDE

2010-11-19 16:03:20

Oracle分析表

2010-11-18 13:09:19

Oracle case

2015-08-21 12:59:38

Oracle數(shù)據(jù)庫

2023-10-11 06:50:32

Oracle數(shù)據(jù)庫系統(tǒng)

2010-04-07 15:47:32

Oracle 11g

2010-10-26 17:41:05

Oracle索引

2010-10-26 11:39:51

Oracle EXPIMP備份

2009-11-11 13:51:23

VS DisplayI

2010-10-11 16:19:30

Mysql聚合函數(shù)
點贊
收藏

51CTO技術(shù)棧公眾號