Sunday, November 8, 2009

SQL EXIST Command saves Disk I/O...sometimes

Did you know that using the SQL EXISTS fuction against an Index field saves on disk access because it actually does not return a value other than TRUE or FALSE.  In this respect the disk pages storing the record can be ignored and only the index is scanned.

No comments:

Post a Comment