SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20048: SAS® Marketing Automation returns an error when you use the select node to query an aggregated date

DetailsHotfixAboutRate It

When you query an aggregate date, SAS® Marketing Automation cannot successfully execute the following syntax in the SQL HAVING clause it generates:

HAVING MAX( dateColumn ) > today() - 1000

Without the aggregate function MAX, SAS/ACCESS® engines correctly interpret "today() - 1000" as a date. When you add the MAX function, however, SAS/ACCESS engines interpret "today() - 1000" as a number and sends it to the database as a numeric value instead of a date value.

This problem occurs in Teradata, Oracle, DB2 and any non-SAS engine that is leveraged by SAS Marketing Automation.

Select 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 Marketing Automation-ServerMicrosoft Windows XP Professional4.45.39.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.45.39.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.45.39.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition4.45.39.2 TS2M0
Microsoft Windows 2000 Server4.45.39.2 TS2M0
Microsoft Windows 2000 Professional4.45.39.2 TS2M0
Microsoft Windows 2000 Datacenter Server4.45.39.2 TS2M0
Microsoft Windows 2000 Advanced Server4.45.39.2 TS2M0
64-bit Enabled Solaris4.45.39.2 TS2M0
Solaris4.45.39.2 TS2M0
AIX4.45.39.2 TS2M0
64-bit Enabled AIX4.45.39.2 TS2M0
HP-UX IPF4.45.39.2 TS2M0
* 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.