Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL-sentence
"Jon Ole Hedne" <johedne_at_online.no> schrieb im Newsbeitrag
news:4QPI8.6628$fG3.228341_at_news2.ulv.nextra.no...
> I want to list numbers in a column in this way:
>
> If Field > 0, Field - 5000, Else Field
>
> How can I solve this with a SQL-sentence?
Have a look at DECODE.
Regards,
Knut Received on Tue May 28 2002 - 13:47:13 CDT