Whenever use SQL Server Management Studio and create a new stored procedure, it starts by filling the body of the procedure in with the following line:
SET NOCOUNT ON
Could someone explain to me what that does, when I should be leaving it in my stored procedure, and when I should be removing it?