Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

Whenever we make a new stored procedure in sql server database then by default a format comes in which a statement is written:-

SET NOCOUNT ON


What do we mean by this?

Thanks
Posted

hello friend,

go through this link :
http://msdn.microsoft.com/en-us/library/ms189837.aspx[^]

Hope this will help you.
Don't forget to mark as answer if it helps. :)
 
Share this answer
 
Setting this to ON stops the message that returns the result of rows affected.
See
http://msdn.microsoft.com/en-us/library/ms189837.aspx[^]

Setting this to ON can actually improve performance[^].
 
Share this answer
 
Comments
Wendelius 26-Dec-11 7:07am    
Good answer, 5
Abhinav S 26-Dec-11 7:22am    
Thanks Mika.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900