Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Start - end time of procedure
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 Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
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 Liststo: 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
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message