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: if statement inside function

Re: if statement inside function

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 15 Feb 2006 17:32:53 -0800
Message-ID: <1140053573.587245.196510@o13g2000cwo.googlegroups.com>


I think you can rewrire your where clause as

where ( range_id = 1 and minimum_wage_variation_id < 100) or ( range_id <> 1 and minimum_wage_variation_id > 100)

HTH -- Mark D Powell -- Received on Wed Feb 15 2006 - 19:32:53 CST

Original text of this message

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