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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 8.0.5 and bitand()

Re: Oracle 8.0.5 and bitand()

From: Jochen Lübbers <luebbers_at_tde-online.de>
Date: Thu, 11 Nov 1999 12:07:59 +0100
Message-ID: <382AA38F.9200FB7F@tde-online.de>


Jonathan Lewis wrote:
> =

> bitand() returns the pl/sql type BINARY_INTEGER,
> and it seems that this in no longer coerced automatically
> by SQL - the solution seems to be simply:
> =

> select to_number(bitand(x,y)) from . . .
> =

> --
> =

> Jonathan Lewis
> Yet another Oracle-related web site: http://www.jlcomp.demon.co.uk
> =

Thanks for your fast reply, it works
But I'm still a little unhappy because that means that I've to change all sources from "bitand()" to "to_number(bitand())" and they are no langer protable between BD" and Oracle as the should be.

So are there any other ways to get the same result, but without the need to change the functioncall??

Thanks again.
J.L.
-- =

Jochen Lübbers                          luebbers_at_tele-data-electronic.d=
e
Software Development Group I            luebbers_at_tde-online.de
TDE - Tele Data Electronic GmbH              sw1_at_tde-online.de
Received on Thu Nov 11 1999 - 05:07:59 CST

Original text of this message

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