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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Stop Criteria for Sql Execution

Re: Stop Criteria for Sql Execution

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Mon, 7 Mar 2005 19:29:51 -0000
Message-ID: <011801c5234c$0838e440$6702a8c0@Primary>

Thomas,

Bear in mind that when something
is stripped down to the bare minimum
to identify the critical point, it can look
"obviously wrong".

Oracle can do the same sort of FILTER
trick at run time with bind variables - and it is possible for users to be unaware that they are supplying predicates that Oracle
"knows" will return an empty set.

Regards

Jonathan Lewis

http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ

http://www.jlcomp.demon.co.uk/seminar.html Public Appearances - schedule updated Jan 21st 2005

Waleed,

Maybe Oracle should be smarter and recognize the craziness of the query.

But then, maybe the developer should also recognize the problem.

Perhaps your frustration is pointing in the wrong direction?

Tom

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Mar 07 2005 - 14:33:03 CST

Original text of this message

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