Problem Note 48077: If a DBMS table has multiple indexes and DBINDEX=YES has been specified, an incorrect WHERE clause might be generated
If you specify DBINDEX=yes in a LIBNAME statement when using the OLE DB engine, and the Database Management System (DBMS) table contains multiple indexes, the best index might not be chosen. The first index is chosen and is used by SAS to construct the query that is passed to the DBMS.
To circumvent this problem, do not use DBINDEX=YES. Instead, use the DBKEY data set option and specify the indexed columns.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to OLE DB | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows XP 64-bit Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft® Windows® for x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 9.21_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Microsoft Windows XP Professional | 9.21_M2 | | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Professional x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 9.21_M2 | 9.4_M2 | 9.2 TS2M3 | 9.4 TS1M3 |
Windows Vista | 9.21_M2 | | 9.2 TS2M3 | |
Windows Vista for x64 | 9.21_M2 | | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-09-22 15:36:05 |
Date Created: | 2012-10-03 14:40:13 |