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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Bad day, or really not possible?

Re: Bad day, or really not possible?

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 26 Feb 2002 22:04:49 +0100
Message-ID: <u7o00sa19vaf81@corp.supernews.com>

"Jon Waterhouse" <jonwaterhouse_at_mail.gov.nf.ca> wrote in message news:3c7bea6f.0_at_209.128.1.3...
> Let me rephrase that:
>
> Why is this a perfectly respectable command in SQLPLUS, or to be executed
as
> dynamic SQL from a stored procedure, but not valid as static SQL in a
stored
> procedure or as a PL/SQL command?
>
> "Jon Waterhouse" <jonwaterhouse_at_mail.gov.nf.ca> wrote in message
> news:3c7bda8b.0_at_209.128.1.3...
> > INSERT into sometable
> > (somecolumn)
> > SELECT CASE WHEN z <1000 THEN xvalue ELSE yvalue END from
> someothertable;
> >
> > Says it's not expecting the symbol case.
> > Just not possible, or am I doing something completely silly?
> >
> >
> >
> >
>
>

Because pl/sql is always at least one release behind with respect to acceptable sql. This should have been resolved in 9i

Hth

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Tue Feb 26 2002 - 15:04:49 CST

Original text of this message

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