![]() | ![]() | ![]() | ![]() | ![]() |
When you use a LIBNAME statement to perform an outer-join query that involves multiple SQL views against Oracle tables, it is possible that one of the outer-join criteria might be left out of the WHERE clause. For example, suppose you have a query that involves an outer join of an Oracle table and three SQL views that access other Oracle tables. When this outer join is converted from the SAS® syntax to a former Oracle approach that uses a plus sign (+) for outer joins in the WHERE clause, only two of the three join conditions are generated in the WHERE clause. An incomplete query such as this creates a Cartesian product with incorrect results.
For example, the following query joins one Oracle table that is accessed directly and three SQL views that all reference another Oracle table:
The WHERE clause that is generated for this query should contain three conditions, as follows:
Instead, the WHERE clause contains only two conditions:
Currently, there is no solution or workaround for this problem.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
z/OS | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
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 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Windows Vista | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
HP-UX IPF | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Linux on Itanium | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
OpenVMS Alpha | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Solaris for x64 | 9.1 TS1M3 SP4 | 9.2 TS1M0 | ||
Tru64 UNIX | 9.1 TS1M3 SP4 | 9.2 TS1M0 |