SQL Server, Oracle 位运算

print 0 | 1 | 2 | 4 | 8
print 15 & 0
print 15 & 1
print 15 & 2
print 15 & 4
print 15 & 8


 

SELECT bitand(15, 8) from dual;

posted @ 2010-12-20 10:42  RobotTech  阅读(326)  评论(0编辑  收藏  举报