Query Recompilation in SQL Server 2000

By Bill Graziano on 10 June 2002 | Tags: Stored Procedures


In Microsoft® SQL Server™ 2000, the query optimizer selects the best strategy to access data quickly and efficiently. This process may be repeated, or "recompiled," and is one of many optimization strategies you can use in SQL Server 2000 to take advantage of better querying plans as they become available. Recompilation yields superior performance in some situations, although excessive recompilation can be detrimental. This article will discuss some of these costs and benefits, and will draw on contrasts between different versions of SQL Server to provide further context for understanding recompilation.

Link: Query Recompilation in SQL Server 2000


Related Articles

Handling SQL Server Errors (5 April 2010)

Testing with Profiler Custom Events and Database Snapshots (22 June 2009)

Debugging Stored Procedures in Visual Studio 2005 (25 June 2007)

Writing CLR Stored Procedures in C# - Returning Data (Part 2) (23 June 2005)

Writing CLR Stored Procedures in C# - Introduction to C# (Part 1) (6 June 2005)

Managed Data Access Inside SQL Server with ADO.NET and SQLCLR (31 May 2005)

An Evaluation of Stored Procedures for the .NET Developer (22 March 2004)

Run CLR code from a stored procedure (14 October 2003)

Other Recent Forum Posts

How to remove all text inside brackets in sql server and return only text to the left of this (11h)

Get first datetime and last datetime on a single row (13h)

SQL to One to Many (1d)

Help adding another case to subquery. I am trying to pull the bin label and warehouse but I am having trouble adding another case to subquery? (2d)

How to concatenat just non null value (2d)

AWS RDS for SQL Server - Backup to/Restore from s3 - Multiple Account Scenario (2d)

Separate values which are not delimited (5d)

Finding Number of Virtual Cores Assigned to SQL Guests (6d)

- Advertisement -