SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57936: When used with a single argument, the COALESCE() function is not passed down to the relational database management system (RDBMS)

DetailsHotfixAboutRate It

When you use the COALESCE() function with a single argument, the generated SQL query is passed down to the RDBMS without the argument.

For example, the SQL generated query that is passed to the database is shown in the NOTE below:

35         proc sql;
36                  create table class_age as
37                  select
38                     
39                     coalesce(age) as age_var
40                     
41                 from lib1.class;
42         quit;

NOTE: Implicit SQL:  select COALESCE() as age_var from CLASS TXT_1

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 SystemBase SASLinux for x649.4_M29.4_M39.4 TS1M29.4 TS1M3
HP-UX IPF9.4_M29.4_M39.4 TS1M29.4 TS1M3
64-bit Enabled Solaris9.4_M29.4_M39.4 TS1M29.4 TS1M3
64-bit Enabled AIX9.4_M29.4_M39.4 TS1M29.4 TS1M3
Windows 7 Enterprise x649.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Std9.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Std9.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 R2 Datacenter9.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2012 Datacenter9.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 for x649.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft Windows Server 2008 R29.4_M29.4_M39.4 TS1M29.4 TS1M3
Microsoft® Windows® for x649.4_M29.4_M39.4 TS1M29.4 TS1M3
Solaris for x649.4_M29.4_M39.4 TS1M29.4 TS1M3
* 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.