Re: How to get query execution time of an MS SQL Query in Visual basic
From: Mary Chipman (mchip_at_online.microsoft.com)
Date: 09/16/04
- Next message: John Kisha: "Re: SQL Server 2000 installed on Domain Controller"
- Previous message: Eric Sabine: "Re: SQL Server 2000 installed on Domain Controller"
- In reply to: Rajeev M C: "How to get query execution time of an MS SQL Query in Visual basic"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Sep 2004 09:11:13 -0400
If you are executing the query from vba, create a timer (using
GetTickcount from the Windows API or something similar). Record the
start time at the beginning of the query, and the stop time after it
completes. Compute the total time elapsed.
--Mary
On 14 Sep 2004 23:46:21 -0700, rajeevmc@yahoo.com (Rajeev M C) wrote:
>please let me know How to get query execution time of an MS SQL Query
>in Visual basic
- Next message: John Kisha: "Re: SQL Server 2000 installed on Domain Controller"
- Previous message: Eric Sabine: "Re: SQL Server 2000 installed on Domain Controller"
- In reply to: Rajeev M C: "How to get query execution time of an MS SQL Query in Visual basic"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|