Query Parameterization and Plan Cache

By Guest Authors on 23 January 2007 | Tags: Query Tuning


This comes to us from the SQL Server Programmability and API Team Blog. They write "Using parameters or parameter markers in queries increases the ability of SQL Server to reuse compiled plans. There are two places where parameterization of queries can be done: on the client side application (or mid tier) or on the server side."

Link: Query Parameterization and Plan Cache


Related Articles

What I Wish Developers Knew About SQL Server (Presentation) (11 October 2007)

Avoid enclosing Indexed Columns in a Function in the WHERE clause (12 September 2007)

Introduction to Parameterization in SQL Server (7 August 2007)

Best Practices for Query Parameterization (24 January 2007)

Analyzing and Optimizing T-SQL Query Performance on Microsoft SQL Server using SET and DBCC (PDF) (25 July 2002)

Five Ways to Rev up Your SQL Performance (27 June 2002)

Other Recent Forum Posts

Cannot Show requested dialogue - Timeout Expired. The Timeout priod elapsed prior to completion of the operation or the server is not responding (78m)

Basic SQL query? (13h)

T-sql - we created Message from app1 and trying to disable from app2 (1d)

SQL select Top 10 records for unique combination of two columns (1d)

SSRS Report Sorting with Grouping Issue (2d)

ORA-01476: divisor is equal to zero (2d)

Create new columns based on min and max values of a record with multiple rows (2d)

Memory Required for Reporting Services 2022 (2d)

- Advertisement -