The c-tree index range logic, used by c-treeACE SQL to perform index scans, has been improved to better identify the “end of scan” condition and avoid scanning further keys when it is certain that no more keys in the index can match the search criteria.