{{theTime}}

Search This Blog

Total Pageviews

How to reduce amount of network data for SQL server stored procedure?


SET NOCOUNT ON

Every time a SQL Statement is executed it returns the number of rows that were affected.  By using
"SET NOCOUNT ON" within your stored procedure you can reduce some traffic.  You can still use
@@ROWCOUNT variable to get number of rows.

No comments:

Generate Models from SQL Server using Entity Framework Core

To generate models from SQL Server database tables using Entity Framework (EF) in .NET, you can follow the Database-First approach with Ent...