mpradeep23 (1/2/2015)
hi teammy stored procedure was running fine
now it is taking long time what are the steps i need to follow to check what is the problem
thanks,
pradeep
Step 1. Determine what the values of the input parameters are. (I normally do this with a quick trip to the SQL profiler).
Step 2. Call the proc using the input parameters with the "Actual Execution Plan" enabled.
Step 3. Analyze the execution plan.
--Jeff Moden
Change is inevitable... Change for the better is not.