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

Need To Generate Shift Rotation Weekwise Rather 7 Day Wise For The Yearmonth 202508 (4d)

Improving update statistics process for 6 big tables (14d)

Peer to Peer Replication is not working between 2 different machines (14d)

SQL HELP in SSMS: The query references an object that is not supported in distributed processing mode (48d)

Subscription sends report with data to one user but empty report to other users (50d)

Pivot Tables in SQL (57d)

Can't restore backup; SSMS says my user account directory is empty (58d)

REPL55012 error (84d)

- Advertisement -