![]() | ![]() | ![]() | ![]() | ![]() |
Incorrect textualization of SQL Implicit Pass-Through queries occurs when you combine multiple inner joins with the UNION operator.
Because of incorrect textualization of PROC SQL Implicit Pass-Through, the following query may fail with a parse error:
data a; x=42; run; data b; x=42; run; proc sql; select * from ( ( (select a.x from a inner join b on a.x=b.x) union (select a.x from a inner join b on a.x=b.x) ) union (select a.x from a inner join b on a.x=b.x) ); quit;
The failure of SQL Implicit Pass-Through will cause all rows to be returned to SAS for processing, which could result in poor performance.
The problem has been observed with SAS® Scalable Performance Data Server and with MySQL database.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Windows Vista for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS2M3 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS2M3 |