If you run procedure from SQLPlus then you can use option set time (or
timing, didn't remember) on and simply count the difference

If you need this info inside the procedure
then just simply in the fisrt line of procedure remember the start time in
some variable either from sysdate or dbms_utilty.get_time

and (surprise, surprise!!!! :-) in the last line of procedure get end time
and calculate the difference

Exact implementation is up to You...

Gints Plivna
IT Sist�mas, Mer�e�a 13, LV1050 R�ga
http://www.itsystems.lv/gints/



                                                                                       
                             
                    Roland.Skoldbl                                                     
                             
                    [EMAIL PROTECTED]            To:     Multiple recipients of list ORACLE-L 
<[EMAIL PROTECTED]>        
                    Sent by:             cc:                                           
                             
                    [EMAIL PROTECTED]       Subject:     Start - end time of procedure    
                             
                    om                                                                 
                             
                                                                                       
                             
                                                                                       
                             
                    2002.01.24                                                         
                             
                    15:00                                                              
                             
                    Please respond                                                     
                             
                    to ORACLE-L                                                        
                             
                                                                                       
                             
                                                                                       
                             




Hallo,

any one who canhelp me?

How can I find out which time a pl/sql procedure starts and which time it
ends?(Ends by any reason at all).


Thanks in advance


Roland



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  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).




--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  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