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: Start - end time of procedure

Re: Start - end time of procedure

From: <G.Plivna_at_itsystems.lv>
Date: Thu, 24 Jan 2002 07:06:06 -0800
Message-ID: <F001.003F9C84.20020124062019@fatcity.com>

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                                                     
                             
                    om_at_ica.se            To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>        
                    Sent by:             cc:                                           
                             
                    root_at_fatcity.c       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: Roland.Skoldblom_at_ica.se

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: ListGuru_at_fatcity.com (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: G.Plivna_at_itsystems.lv

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: ListGuru_at_fatcity.com (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). Received on Thu Jan 24 2002 - 09:06:06 CST

Original text of this message

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