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

Home -> Community -> Usenet -> c.d.o.tools -> Re: EASY ? Case statement

Re: EASY ? Case statement

From: Marc Billiet <someone.overthere_at_living>
Date: Wed, 08 Nov 2000 07:16:47 GMT
Message-ID: <20001108.7164757@slu40xxx.hae.hydro.com>

But unfortunately not in pl/sql...

Marc

>>>>>>>>>>>>>>>>>> Oorspronkelijk bericht <<<<<<<<<<<<<<<<<<

Op 2000-11-02, 11:59:59, schreef Connor McDonald <connor mcdonald_at_yahoo.com> over het thema Re: EASY ? Case statement:

> 8.1.6 and above has "case" support..
 

> eg
 

> SELECT AVG(CASE WHEN e.sal > 2000 THEN e.sal ELSE 2000 END) from emp e
;

> HTH
> --
> ============

 =========> Connor McDonald Received on Wed Nov 08 2000 - 01:16:47 CST

Original text of this message

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