May 26, 2004 04:26 PM

Inside Search Arguments

Help the optimizer in its search for the best plan
Rating: (0)
SQL Server Magazine
InstantDoc ID #42349
One of my favorite SQL Server topics to teach about is the query optimizer, whose job is to determine which query plans SQL Server will use to execute the queries your applications submit for processing. A main optimizer task is to determine which indexes, if any, SQL Server will use to find the relevant data in each table involved in a query. In my July 2001 column, "Are You in Tune?" (InstantDoc ID 21038), I introduced the concept of a SARG, which is my term for a particular form of search argument condition in a query's WHERE clause. In most cases, a column must appear in a SARG before the query optimizer will consider using an index on that column.

A S...

You must be a paid Professional Member to access this entire article.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Monthly or Annual

Professional Membership

VIP Membership

Compare Member Benefits

Add a Comment

Any insight into what the SQL Server optimiser is doing is very useful. Thanks

Max7/19/2006 11:40:45 PM


You must log on before posting a comment.

Are you a new visitor? Register Here

Related Resources

Special Report: Perspectives on SQL Server Sprawl
A Essential Guide by PolyServe
SQL Server 2008 Memory and CPU Highlights
A Tip Guide by Intel, Microsoft, Unisys
More

Field data type change - query timeout

Hi,       I need to change a data type of a field in SQL Server 2005. The fiels most be changed from varchar(13) to varchar (20), but because of th...222-96220

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS