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

Home -> Community -> Usenet -> c.d.o.server -> Re: is Null or = null and a slow query

Re: is Null or = null and a slow query

From: Ben Graham <bengraham1977_at_gmail.com>
Date: 4 Nov 2005 06:37:23 -0800
Message-ID: <1131115043.519231.61560@f14g2000cwb.googlegroups.com>


Assuming none of the columns below are nullable, try:

and ( ft.account_id = nvl(iOptionOne,ft.account_id) )
and ( ft.cust_pol_id = nvl(iOptionTwo,ft.cust_pol_id) )
and ( ft.flop_id = nvl(iOptionThree,ft.flop_id));
Received on Fri Nov 04 2005 - 08:37:23 CST

Original text of this message

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