![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
With SAS® Scalable Data Server®, incorrect textualization of SQL implicit pass-through queries occurs when you use the CALCULATED keyword in a GROUP BY statement.
The code in the Full Code tab of this Problem Note demonstrates the incorrect results and produces the following message in the SAS log file:
NOTE: Implicit SQL: select distinct t1.col2, DATEPART(t1.col1) as col1, t1.col3, COUNT(*) as num from TBL t1 group by t1.col2, col1, t1.col3 NOTE: Table WORK.SASDATA created, with 66085 rows and 4 columns.
The CALCULATED keyword is missing in the Implicit SQL note above.
Select the Hot Fix tab in this Note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | Solaris for x64 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 |
Linux for x64 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
HP-UX IPF | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
64-bit Enabled Solaris | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
64-bit Enabled HP-UX | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
64-bit Enabled AIX | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Ultimate 32 bit | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 for x64 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 for x64 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows XP Professional | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft® Windows® for x64 | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows XP 64-bit Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21_M3 | 9.3 | 9.2 TS2M3 | 9.3 TS1M0 |