Optimizing Stored Procedures
The process of optimizing a stored procedure is much like the process for optimizing a query, with a few differences. If a sproc was running well, but slowed down, it will probably benefit from being recompiled. This can be accomplished in 2 ways: Run the system stored procedure sp_recompile against the sproc. This will cause […]