Re: "Not in" subquery

From: <fitzjarrell_at_cox.net>
Date: Wed, 06 Jun 2007 13:44:30 -0700
Message-ID: <1181162670.948629.135090_at_j4g2000prf.googlegroups.com>


[Quoted] On Jun 6, 3:23 pm, Amritha.Da..._at_gmail.com wrote:
> Hello,
>
> Is there any alternative query to the below one?
>
> update RTable set Reason = "XYZ"
> Where FKey = 1234
> and SFKey = 1
> and Reason Is Null
> and F_ID not in ( Select F_ID from RTable
> Where FKey = 1234
> and SFKey = 1
> and TO_NUMBER(REL_CD) = 1
> and Reason Is Null);
>
> "not in" in the above query is taking alot of time and it is timing
> out.
>
> Please Advise.
>
> Thanks

Cross-posting doesn't help you get a faster response.

David Fitzjarrell Received on Wed Jun 06 2007 - 22:44:30 CEST

Original text of this message