SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69848: SAS/ACCESS® Interface to Netezza does not pass the WEEK function to the database with Netezza client versions 10 and later

DetailsHotfixAboutRate It

In Netezza client versions 10 and later, queries that use the WEEK() function are not passed to the Netezza database.

Here is example code that triggers this issue:

proc sql;
select 
year(datepart(date1)),
week(datepart(date1),'v')
from nzlib.w
group by date1
having date1 = max(date1);
quit;

You can turn on SAS tracing with this code:

options sastrace=',,,d' sastraceloc=saslog nostsuffix;

Then, messages similar to the following help you isolate the issue: 

SAS_SQL:  Unable to convert the query to a DBMS specific SQL statement due to an error. 
ACCESS ENGINE:  SQL statement was not passed to the DBMS, SAS will do the processing. 

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to NetezzaLinux for x649.449.4 TS1M7
HP-UX IPF9.449.4 TS1M7
Microsoft Windows 8 Pro 32-bit9.449.4 TS1M7
Microsoft Windows 8 Enterprise x649.449.4 TS1M7
Microsoft Windows 8 Enterprise 32-bit9.449.4 TS1M7
64-bit Enabled Solaris9.449.4 TS1M7
64-bit Enabled AIX9.449.4 TS1M7
Windows 7 Ultimate x649.449.4 TS1M7
Windows 7 Ultimate 32 bit9.449.4 TS1M7
Windows 7 Professional x649.449.4 TS1M7
Windows 7 Professional 32 bit9.449.4 TS1M7
Windows 7 Home Premium x649.449.4 TS1M7
Windows 7 Home Premium 32 bit9.449.4 TS1M7
Windows 7 Enterprise x649.449.4 TS1M7
Windows 7 Enterprise 32 bit9.449.4 TS1M7
Microsoft Windows Server 20229.449.4 TS1M7
Microsoft Windows Server 20199.449.4 TS1M7
Microsoft Windows Server 20169.449.4 TS1M7
Microsoft Windows Server 2012 Std9.449.4 TS1M7
Microsoft Windows Server 2012 R2 Std9.449.4 TS1M7
Microsoft Windows Server 2012 R2 Datacenter9.449.4 TS1M7
Microsoft Windows Server 2012 Datacenter9.449.4 TS1M7
Microsoft Windows Server 2008 for x649.449.4 TS1M7
Microsoft Windows Server 2008 R29.449.4 TS1M7
Microsoft Windows Server 20089.449.4 TS1M7
Microsoft Windows 119.449.4 TS1M7
Microsoft Windows 109.449.4 TS1M7
Microsoft Windows 8.1 Pro x649.449.4 TS1M7
Microsoft Windows 8.1 Pro 32-bit9.449.4 TS1M7
Microsoft Windows 8.1 Enterprise x649.449.4 TS1M7
Microsoft Windows 8.1 Enterprise 32-bit9.449.4 TS1M7
Microsoft Windows 8 Pro x649.449.4 TS1M7
Microsoft® Windows® for x649.449.4 TS1M7
* 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.