For a large database (thousands of stored procedures) running on a dedicated SQL Server, itβs best to include it SET NOCOUNT ONat the top of each stored procedure or set this parameter at the server level (Properties β Connections β "no count"). It appears that the DRY (Do Not Repeat Yourself) principle applies, and this parameter should only be set in one place. If SQL Server also hosted other databases, this might object to installing it at the server level, as other applications may depend on it. Where is the best place for SET NOCOUNT?
source
share