|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, September 27, 2012 6:40 AM
Points: 7,
Visits: 32
|
|
| sorry, it is better to put SET NOCOUNT ON, isn't it?
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Sunday, July 03, 2011 7:09 AM
Points: 258,
Visits: 494
|
|
Correct. If you don't need to get any responses from things like update statements, then best to turn this off - this reduces traffic to and from the server. Helps (even if only slightly) with performance.
Random Technical Stuff
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Today @ 6:44 AM
Points: 678,
Visits: 1,544
|
|
I would recommend not setting that in the stored procedure because this reduces the possibilities of the return. When the stored proc is called from programming code, the call can be set to not return a record count. If it's set in the stored proc, the programmer has no way to get the count if it would be desired.
|
|
|
|