1
kudos
spam Kudos Remove

SQL SERVER – Stored Procedure Optimization Tips – Best Practices « Journey to SQL Authority with Pinal Dave

published 710 days, 8 hours, 45 minutes ago posted by pinaldavepinaldave 720 days, 5 hours, 16 minutes ago
Sunday, February 28, 2010 5:06:08 AM GMT Thursday, February 18, 2010 8:35:26 AM GMT

We will go over how to optimize Stored Procedure with making simple changes in the code. Please note there are many more other tips, which we will cover in future articles.

Include SET NOCOUNT ON statement: With every SELECT and DML statement, the SQL server returns a message that indicates the number of affected rows by that statement. This information is mostly helpful in debugging the code, but it is useless after that. By setting SET NOCOUNT ON, we can disable the feature of returning this extra i...

category: Query | clicked: 2 | | source: blog.sqlauthority.com | show counter code
tags: database, pinaldave, SQL, SQLAuthority, SQLServer

No comments yet, be the first one to post comment.

To post your comment please login or signup