query execution time

  • Thread starter Thread starter Dino L.
  • Start date Start date
D

Dino L.

Hi,
how can I get query execution time?
I am using ODBC conncetion, and OdbcDataReader
 
Two easy solutions:

Store DateTime.Now before and compare it to DateTime.Now after the execution
or
do the same with Environment.TickCount.
 
Miha said:
Two easy solutions:

Store DateTime.Now before and compare it to DateTime.Now after the execution
or
do the same with Environment.TickCount.

Hvala,
thanks
 
Back
Top