|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Displaying Query Time...
Does anyone know the asp code to display the time it took to do a search? Like what Google has "found xxxx items. Search took 1.24 seconds"
Cheers
__________________
Support requests via PM will be ignored! |
|
#2
|
|||
|
|||
|
The simple solutions is,
Get the server time before you execute the query and the time after you execute the query. The difference would give you the time taken for the query to run. It may not be 100% accurate, because it is the time ado executes the query and get the results back. That may not truly represent the time db took to run the query. Hope that helps ASPMAN
__________________
If you ask a question you are a fool for a second. But if you dont ask, you are a fool for a life time. |
|
#3
|
||||
|
||||
|
Yeah, worked nicely. Cheers buddy.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Displaying Query Time... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|