Time taken by a query

What is the command to print the time taken by a query

Questions by madhupriya.nukala   answers by madhupriya.nukala

Showing Answers 1 - 6 of 6 Answers

hemant.agarwal03

  • Feb 13th, 2008
 

you need to use set operetor TO GET THE TIME..LIKE THIS..

SQL> SELECT SYSDATE FROM DUAL;

SYSDATE
---------
13-FEB-08

SQL> SET TIMING ON
SQL> SELECT SYSDATE FROM DUAL;

SYSDATE
---------
13-FEB-08

Elapsed: 00:00:00.00

now it will show time..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions