i have a Problem to know how much time the server take to execute an SQL command .

I user Oracle Db and SQL DB

thanx

Recommended Answers

All 5 Replies

if using sql*plus with oracle use the follwing

SQL> SET TIMING ON

SQL> YOUR QUERY ...........

YOu can use a shortcut method as well.
set timi on
By the way you can get more features from
<URL SNIPPED>

am work on a flex project ,and one of it's features is to display how much time the oracle or the data Base used to execute the query and display the time on the flex interface

select current_timestamp from dual;

SELECT TO_CHAR(SYSDATE, 'HH24:MI:SS PM') As "TIME" from dual
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.