Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to time duration of a query?

Status
Not open for further replies.

binain

IS-IT--Management
Aug 24, 2001
4
US
I am trying to figure out the amount of time some of my queries take to run, and I was hoping to write a function that would simply "run" each query once or a number of times and calculate the average run time. However, the Execute functionality only works on Action queries - I can't think of any way to time get the query to run multiple times.

Does anyone have any suggestions for getting a decent time estimate for a select query?
 
Hmmm - there was a good and valid reply here earlier - I wonder why it was censored?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top