Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Where are the binary operators ??
Who ever you are !?!
Thanx a lot !!!
On 14 Oct 1999 13:14:29 GMT, QuestionExchange <USENET_at_questionexchange.com> wrote:
>> Hi,
>>
>> I wonder if there is a package or a built in function to
>calculate a
>> binary OR, XOR or AND ??
>>
>> Does anybody know where I can find something like this ??
>Hi there,
>Yes, it exists. There are several packages that you can use
>for this.
>Oracle's website has a package called "bitwise", at
>http://www.oracle.com/database/features/plsql/bitwisedown.html
>Alternatively, you can look at
>http://www.gt.ed.net/keith/plsql/
>get the package "bw.txt", it contains generic bitwise
>operators.
>For instance, you need to call "op(A,'XOR',B,0,8)" if you
>want to perform an unsigned bitwise XOR on A and B, taken
>as 8-bit numbers. It is a bit more cumbersome, but more
>complete and flexible.
>I hope this helps!
Received on Fri Oct 15 1999 - 02:33:40 CDT
![]() |
![]() |