| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: BITAND with large integers
Matt,
how about something like this ....
SELECT 4,POWER(2,31),
TO_NUMBER(utl_raw.cast_to_varchar2(utl_raw.bit_and(utl_raw.cast_to_raw(4),
utl_raw.cast_to_raw(POWER(2,31))))) FROM dual
/
Raj
Received on Mon Dec 22 2003 - 15:43:15 CST
![]() |
![]() |