Tuning Stored Procedures
Here are few tips to tune up stored procedures in SQL Server. I gathered these after doing some search on Google:
Include the ‘SET NOCOUNT ON‘ statement to stop the message indicating the number of rows affected (Reduces network traffic)
Break down the stored procedure in parts and call them from 1, esp. if you know that [...]