Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Set Timing on and DBMS_utility.get_time()
Hi List,
I am really confused by the results from the DBMS_UTILITY.get_time() and set timing on in the SQL PLUS.
Can anybody please explain this with an example.
I gave the following in the SQL PLUS
SQL > Set timing on
SQL > Select * from emp;
Elapsed: 00:00:00.08
Does this mean the command took 80 milli second or it took 800 millisecond to execute.
Now I put the same select statement in a procedure and used the DBMS_utility.get_time() before executing and after executing the statement, the values I got were different. Could somebody explain this. Does these two show the result in milli second.
Prem
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: prem_at_ibsplc.com
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 Mon May 27 2002 - 04:28:53 CDT