Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Bitwise AND and OR in a PL/SQL function

Re: Bitwise AND and OR in a PL/SQL function

From: Frank Langelage <frank_at_lafr.de>
Date: Sat, 11 Nov 2000 19:45:07 +0100
Message-ID: <3A0D93B3.32D9D723@lafr.de>

Oracle has a function called "bitand(a,b)". a is the value to search in.
b is the bit written as a number value searched for.

select bitand( table.column, 8 ) from table

Greetings

Frank Received on Sat Nov 11 2000 - 12:45:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US