mysql中的按位移位 [英] Bitwise shift in mysql
本文介绍了mysql中的按位移位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在MySQL中进行逐位转换?是否有任何特定的说明或操作员?如果没有,如何对其进行最佳模拟?
How can I make a bitwise shift in MySQL? Is there any specific instruction or operator? If not, how to simulate it optimally?
推荐答案
首先查看MySQL
中的按位运算符:http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html
Have a look at the bitwise operators in MySQL
first: http://dev.mysql.com/doc/refman/5.0/en/bit-functions.html
然后您左移:
http://dev.mysql.com/doc/refman /5.0/zh-CN/bit-functions.html#operator_left-shift
右移:
http://dev.mysql.com/doc/refman /5.0/zh-CN/bit-functions.html#operator_right-shift
这篇关于mysql中的按位移位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文