FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Database Blog: NOCOUNT ON in Stored procedures
DATABASE
EXCEPTION::QUERY

A Blog About Database Products and Technology.

by Kevin Carlson
SELECT * FROM [Musings]

Database matters.

by Niklas Hemdal
August 30, 2006

NOCOUNT ON in Stored procedures

Jon Galloway blogs about the use of SET NOCOUNT ON here.

While I appreciate the reduction in network traffic using SET NOCOUNT ON, the main reason I use SET NOCOUNT ON is that in some cases, and I cannot explicitly enumerate which cases, lack of SET NOCOUNT ON causes the stored procedure as called from ADO.NET.

So, the rule should be: SET NOCOUNT ON Always!

Posted by Douglas Reilly at 09:08 PM  Permalink




 
INFO-LINK