Stephane,

Thanks for your reply.

I don't think it's a possibility to get another resource to rewrite the
PL/SQL.   Our shop is more java-based and PL/SQL is not our developers
language of choice.

Do you mean to move as many statements inside of the loop to outside of the
loop as possible?   If yes, I'll pursue that.

I already made recommendations to remove the DISTINCT and ORDER BY clauses
in most SQL statements.   I was told that the distinct is necessary to
remove redundant data and do some additional  clean-up.   I believe that
they want the order by to make their QA effort easier and confirm that the
data is still valid and matches across to other databases.   However, I am
trying to push to get the ORDER BYs out at least.

Thanks again for your feedback.

Cherie


                                                                                       
                         
                    Stephane                                                           
                         
                    Faroult              To:     Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>    
                    <sfaroult@orio       cc:                                           
                         
                    le.com>              Subject:     Re: Long-running PL/SQL function 
(short)                  
                    Sent by:                                                           
                         
                    [EMAIL PROTECTED]                                                     
                         
                    om                                                                 
                         
                                                                                       
                         
                                                                                       
                         
                    01/07/03 01:39                                                     
                         
                    PM                                                                 
                         
                    Please respond                                                     
                         
                    to ORACLE-L                                                        
                         
                                                                                       
                         
                                                                                       
                         




Have the procedure rewritten by somebody with a little experience.
Getting rid of statements inside loops, DISTINCT and ORDER BY which are
rarely necessary when moving data from a table to another table would be
good places to start.

--
Regards,

Stephane Faroult
Oriole Software
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Stephane Faroult
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).





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

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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