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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Offline doubt - Exclusive OR operator in PL/SQL??.

RE: Offline doubt - Exclusive OR operator in PL/SQL??.

From: Elliott, Patrick <Patrick.Elliott_at_bestbuy.com>
Date: Tue, 13 Feb 2001 11:30:52 -0800
Message-ID: <F001.002B2DF4.20010213111649@fatcity.com>

The only reference I found in the documentation was in the UTL_RAW package.

BIT_XOR Function
This function performs bitwise logical "exclusive or" of the values in RAW r1 with RAW r2 and returns the "xor'd" result RAW.

If r1 and r2 differ in length, then the "xor" operation is terminated after the last byte of the shorter of the two RAWs, and the unprocessed portion of the longer RAW is appended to the partial result.The result length equals the longer of the two input RAWs.

Syntax
UTL_RAW.BIT_XOR (
   r1 IN RAW,
   r2 IN RAW)
  RETURN RAW; Pragmas
pragma restrict_references(bit_xor, WNDS, RNDS, WNPS, RNPS);

Parameters
Table 63-40 BIT_XOR Function Parameters

> -----Original Message-----
> From: Arul kumar [SMTP:rakumar_at_mahindrabt.com]
> Sent: Monday, February 12, 2001 7:31 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Offline doubt - Exclusive OR operator in PL/SQL??.
>
> Hi Gurus,
>
> We are currently working on migration of ORACLE / VB env. to ORACLE WEB
> SERVER env.
>
> In this, we need to change one part of VB code which is using EXCLUSIVE
> OR operator functionality to ORACLE (PL/SQL).
>
> Do we have such Exclusive OR operator in PL/SQL ? or is anyother way to
> get the work done.?
>
> Note - Oracle Database Version - 7.x
>
> Thank You.
> Arul.
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Arul kumar
> INET: rakumar_at_mahindrabt.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Elliott, Patrick
  INET: Patrick.Elliott_at_bestbuy.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Feb 13 2001 - 13:30:52 CST

Original text of this message

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