Sandeep rathore
asked on
time duration stored procedure is taking
Can i know particular stored procedure is taking time to execute .
Basically want to know how much time it takes to complete.
Iam using sql server 2005 std edition ,
Basically want to know how much time it takes to complete.
Iam using sql server 2005 std edition ,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER
thanks for the answer
Another way would be to log the steps your sproc is taking in a "log table". For example, you could insert
a row at the start of the procedure and at the end of the procedure, each time using GETDATE() to populate
a time stamp. (You could also log intermediate steps if you are so inclined.)
Regards,
Patrick