Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: EASY ? Case statement
"Olivier Villeneuve" <olivier.villeneuve_at_fra.sas.com> a écrit dans le message news:
8ts7lq$aqh$1_at_license1.unx.sas.com...
>
> What is the right syntax to do this :
>
> select case ename when ('SCOTT') then 'IIII' else 'CCCC' end as test ,
> ename from emp;
>
> This code returns an error ORA-00923
Received on Thu Nov 02 2000 - 17:31:10 CST
![]() |
![]() |