When you use SCL code with SAS/ACCESS software, functions in a WHERE clause are not passed to the database. Instead, the full query is passed to the database, which returns more results than expected.
The problem occurs when you submit SCL code similar to the following:
The log for this example will show that all results are returned because the WHERE clause did not pass the QTR() function. With SASTRACE options turned on, you will see that the WHERE clause contains a zero, as shown here:
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to MySQL | Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to DB2 | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to ODBC | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to OLE DB | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to Oracle | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to Sybase | Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
SAS System | SAS/ACCESS Interface to Teradata | Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M2 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M2 |
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-03-19 09:23:25 |
Date Created: | 2009-06-25 17:08:53 |