Re: SET NOCOUNT ON
From: Aaron Bertrand - MVP (aaron_at_TRASHaspfaq.com)
Date: 05/19/04
- Next message: Veronica: "Re: Cursor Replacement"
- Previous message: joe: "Re: Join Problems"
- In reply to: Reza Alirezaei: "SET NOCOUNT ON"
- Next in thread: Gregory A. Larsen: "Re: SET NOCOUNT ON"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 May 2004 12:30:18 -0400
It prevents n row(s) affected messages from interfering with output. In
Query Analyzer, this means less clutter in the results pane; in ADO it can
mean that the message isn't incorrectly interpreted as a result set.
FWIW, I use SET NOCOUNT ON in every single stored procedure I write.
-- Aaron Bertrand SQL Server MVP http://www.aspfaq.com/ "Reza Alirezaei" <anonymous@discussions.microsoft.com> wrote in message news:eh32W3bPEHA.3100@TK2MSFTNGP10.phx.gbl... > what dose this line at the beginign of an stored procedure do?? > SET NOCOUNT ON > > > Thanks in advance for your time. > >
- Next message: Veronica: "Re: Cursor Replacement"
- Previous message: joe: "Re: Join Problems"
- In reply to: Reza Alirezaei: "SET NOCOUNT ON"
- Next in thread: Gregory A. Larsen: "Re: SET NOCOUNT ON"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|