Improving 2D Range Query Performance in SQL Server

Posted on SQL Server Central See other posts from SQL Server Central
Published on Thu, 30 Dec 2010 07:00:00 UT Indexed on 2010/12/31 6:58 UTC
Read the original article Hit count: 245

Filed under:
When using the BETWEEN operator on multiple columns, you are likely using a 2D range query. Such queries perform very poorly in SQL Server. This article examines rewriting these queries for improved performance.
SQL Backup Join SQL Backup’s 35,000+ customers
to compress and strengthen your backups

"SQL Backup will be a REAL boost to any
DBA lucky enough to use it." Jonathan Allen.
Download a free trial now.

© SQL Server Central or respective owner