Different Ways To Parameterize Queries In SQL Server

The Importance Of Being Parameterized

Parameterization has many benefits for queries.

  • You tend to make better use of the plan cache, which usually means less time spent compiling and recompiling queries
  • Your queries will be more secure, because they won’t

Software Vendor Mistakes With SQL Server: Not Parameterizing Queries

You Won’t Stop

Continuing a bit on yesterday’s theme of parameterization, another type of mistake I see software vendors make quite a bit is not parameterizing queries at all, or only partially parameterizing them. When you do this, you harm …