现在的位置: 首页 > 数据库 > 正文

NOTE for Oracle bitand() function

2018年10月30日 数据库 ⁄ 共 275字 ⁄ 字号 评论关闭

Notes on the BITAND Function

The current implementation of BITAND defines n = 128.

PL/SQL supports an overload of BITAND for which the types of the inputs and of the result are all BINARY_INTEGER and for which n = 32.

 

结论:如果要在pl/sql里面对超过32位的数做bitand,不能用result:=bitand(a,b);而要用select bitand(a,b) into result from dual;

 

抱歉!评论已关闭.