SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 61393: Count(*) returns incorrect and random results for a UNION ALL query between two tables

DetailsHotfixAboutRate It

In SAS® Federation Server 4.2, the data returned from count(*) might be incorrect and random even when the underlying table data did not change. This problem occurs when you perform a count(*) in a view that selects from a view that performs a UNION ALL of two other views.

If you put all of the data in a single catalog, you always get the correct count. When the schemas are split across multiple catalogs, you might receive incorrect and random values for count(*).

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 Federation ServerMicrosoft® Windows® for x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8 Pro x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 8.1 Pro x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows 104.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 20084.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 R24.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2008 for x644.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Datacenter4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 R2 Std4.24.29.4 TS1M49.4 TS1M4
Microsoft Windows Server 2012 Std4.24.29.4 TS1M49.4 TS1M4
Windows 7 Enterprise 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Enterprise x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Home Premium 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Home Premium x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Professional 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Professional x644.24.29.4 TS1M49.4 TS1M4
Windows 7 Ultimate 32 bit4.24.29.4 TS1M49.4 TS1M4
Windows 7 Ultimate x644.24.29.4 TS1M49.4 TS1M4
64-bit Enabled AIX4.24.29.4 TS1M49.4 TS1M4
64-bit Enabled Solaris4.24.29.4 TS1M49.4 TS1M4
HP-UX IPF4.24.29.4 TS1M49.4 TS1M4
Linux for x644.24.29.4 TS1M49.4 TS1M4
Solaris for x644.24.29.4 TS1M49.4 TS1M4
* 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.