Why am I getting 2 instead of 3 when I perform BIT_OR(2,1)
?
SELECT UTL_RAW.CAST_TO_NUMBER ( --> decimal: 3? nope, 2
UTL_RAW.BIT_OR( --> binary: 11? shouldn't it?
UTL_RAW.CAST_FROM_NUMBER(2), --> binary: 10
UTL_RAW.CAST_FROM_NUMBER(1) --> binary: 1
)
)
FROM DUAL;