请解释这个输出我不能解开 [英] Please Explain This Output I Am Not Able To Unserstand
本文介绍了请解释这个输出我不能解开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
select 1024 & 1222
select 1024 | 1222
out put
1024
1222
How sql perform this operation
select 1300 & 1222
giving me output
1028
select 1300 | 1222
giving me output
1494
推荐答案
检查这个 BitWise& [ ^ ]
Bitwise | [ ^ ]
1300 - > 10100010100
1222 - > 10011000110
----------------------
10111010110 --->> 1494
模拟器 [< a href =http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.htmltarget =_ blanktitle =新窗口> ^ ]
Check this BitWise & [^]
Bitwise | [^]
1300 -> 10100010100
1222 -> 10011000110
----------------------
10111010110 --->> 1494
Simulator [^]
这篇关于请解释这个输出我不能解开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文