Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: CASE strucrure in PL/SQL
On Wed, 4 Jun 2003 09:45:59 +0200, "Onismus Radebe"
<onismusr_at_absa.co.za> wrote:
...
>Bob I got the syntax from a Student Guide for Oracle 9i and the server that
>I'm using is 8i I think that might be the reason causing all of this. I
>could have used the IF structure because I'm lazy to type I decided to use
>CASE. We 'll be moving to Oracle 9i in a month until then I 'll have to use
>the IF --- THEN ---ELSIF---ELSE---END IF structure.
...
From the Oracle 9i SQL Reference Manual:
"CASE expressions let you use IF ... THEN ... ELSE logic in SQL statements"
So *not* in an assignment statements as in your example.
Jaap. Received on Wed Jun 04 2003 - 13:57:11 CDT