Stored Procedure Optimization Tips – Best Practices(blog.sqlauthority.com)
submitted by
pinaldave(9662) 2 years, 3 months ago
Key Points discussed in the articles are :
1. Include SET NOCOUNT ON statement
2. Use schema name with object name
3. Do not use the prefix “sp_” in the stored procedure name
4. Use IF EXISTS (SELECT 1) instead of (SELECT *)
5. Try to avoid using SQL Server cursors whenever possible
6. Keep the Transaction as short as possible
7. Use TRY-Catch for error handling
|category: Database
|Views: 779
tags:
SQLAuthority pinaldave SQLServer Database SQL another
Everyones tags:
Your Tags: