Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Is IF ELSE statement can be used inside sqlplus?
"Officer" <raboasia_at_pacific.net.sg> schrieb im Newsbeitrag
news:bttfd7$73t$1_at_nobel2.pacific.net.sg...
> Is it possible to use IF ELSE statement inside sqlplus?
>
> I try to use it couple times, it seems sqlplus does not like it. Any
> example?
>
>
IF THEN ELSE END IF is PL/SQL, not SQL,
so If You want to use it, write at least an anonymous PL/SQL-Block
For further details goto http://tahiti.oracle.com Received on Mon Jan 12 2004 - 02:36:17 CST