Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Enterprise
Expertise: Beginner
Aug 27, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Save on Network Traffic with the Transact-SQL Statement SET NOCOUNT ON

All statements executed in a stored procedure, including SELECT statements, generate an "x rows affected" message. These messages are typically not needed by the application when it is executing a stored procedure. Applications can execute the T-SQL statement SET NOCOUNT ON, so that the SQL Server does not return an indication of how many rows were affected by SQL statements, or by any statements within procedures. Issuing this command at the start of a large stored procedure can significantly reduce the network traffic between the server and client, and improve performance by eliminating these messages.

Jai Bardhan
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date