Problem Note 52327: SQL procedure code that used to work properly now leads to issues such as missing table columns, incorrect results, or an incorrect query being passed
SQL procedure code that used to work might not work properly after you apply Hot Fix I22068. The following issues might occur:
- The resulting table might contain fewer columns. This might occur when the query contains the following:
- A column that is being selected twice, but only one is given a new name
- a WHERE clause
- an ORDER BY clause
The original column name does not appear in the resulting data set. Only the renamed variable appears, along with other variables that appeared in the SELECT clause. To work around this issue, give the first variable a new name, even if it is the same name. For example: select ssn as ssn, ssn as studentid
- Incorrect results might occur. This might occur when the query contains the following:
- An incorrect query is passed to the database, SASTRACE output showing a truncated query being passed and SQLPLAN errors. This might occur when the query contains the following:
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.3 TS1M2 | 9.4 TS1M2 |
Z64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft® Windows® for x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise 32-bit | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8 Pro 32-bit | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8 Pro x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro 32-bit | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M2 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M2 | |
Microsoft Windows Server 2008 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2008 R2 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2012 Datacenter | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Datacenter | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Std | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows Server 2012 Std | 9.3 TS1M2 | 9.4 TS1M2 |
Microsoft Windows XP Professional | 9.3 TS1M2 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Enterprise x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Home Premium 32 bit | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Home Premium x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Professional 32 bit | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Professional x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Ultimate 32 bit | 9.3 TS1M2 | 9.4 TS1M2 |
Windows 7 Ultimate x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Windows Vista | 9.3 TS1M2 | |
Windows Vista for x64 | 9.3 TS1M2 | |
64-bit Enabled AIX | 9.3 TS1M2 | 9.4 TS1M2 |
64-bit Enabled HP-UX | 9.3 TS1M2 | 9.4 TS1M2 |
64-bit Enabled Solaris | 9.3 TS1M2 | 9.4 TS1M2 |
HP-UX IPF | 9.3 TS1M2 | 9.4 TS1M2 |
Linux | 9.3 TS1M2 | 9.4 TS1M2 |
Linux for x64 | 9.3 TS1M2 | 9.4 TS1M2 |
Solaris for x64 | 9.3 TS1M2 | 9.4 TS1M2 |
*
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.
When you run PROC SQL code that used to work properly, the following issues might occur: an incorrect number of table columns, incorrect results, or an incorrect query passed to the database.
The problem occurs after Hot Fix I22068 has been applied.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-11-25 13:07:56 |
Date Created: | 2014-02-13 13:34:18 |