Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: xor in PL/SQL
"Finn Nova" <finn_nova_at_yahoo.de> wrote in message
news:b32e8107.0202270225.58158e86_at_posting.google.com...
> Hi all,
>
> is there a xor operator in PL/SQL?
> We are using Oracle 8i.
>
> Regards,
>
> Finn
Let me see. Roughly
If A Then
IF B then
false
ELSE
true
END IF
ELSE
IF B then
true
ELSE
false
END IF
END IF
OR
IF ((A OR B) AND NOT(A AND B)) I'm sure there are plenty of other ways
Adrian Received on Thu Feb 28 2002 - 12:37:15 CST