RE: Slow running Query.

The difference between statement1 and statement 2 is that statement 2 requests 
the data for one specific client_code and oracle can use an index 
me_client_assets to quickly hone in on that particular client.

Statement 1 has no such limiting predicate and therefore Oracle can not use an 
index. If it can't use an index the only other option is a FTS.

Quoting "Kumar, Dharminder" <Dharminder.Kumar@xxxxxxxxx>:


-- 
regards

Wolfgang Breitling
Oracle 7,8,8i,9i OCP DBA
Centrex Consulting Corporation
www.centrexcc.com

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: