Hi Friends,

I had a query running longer time!!, what is best way to optimize this 
query?? Or can I break this query for 5000 records each..Any ideas and 
suggestions??

SELECT DISTINCT CC.CUST_NO, CF.DISBURSE_CUST_NO FROM CUSTOMER_CODE CC, 
CUSTOMER_FINANCE CF WHERE CC.CUST_NO = CF.BILL_CUST_NO(+) AND CC.CUST_NO 
BETWEEN 10000 AND 999999 AND (CF.EFF_START_DATE <= '16-SEP-2001' AND 
CF.EFF_STOP_DATE >= '16-SEP-2001')


Thanks
Raghu.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Raghu Kota
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to