Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Bitwise AND and OR in a PL/SQL function
Is there a function or operator for a bitwise AND and OR function in PL/SQL. I need to OR together some numbers and then put them into a single field. i.e. 2 OR 4 = 6; 2 OR 2 = 2. I also need an AND function to check which bits are already on. Does oracle have these bitwise functions?
A shift left and shift right operator would be nice too but not as critical.
Thanks
-- Jake Anderson jakeanderson_at_byu.edu MTC DevelopmentReceived on Fri Nov 10 2000 - 19:06:40 CST
![]() |
![]() |