SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 51138: A Read-access violation might occur when you perform a correlated subquery using the SQL procedure

DetailsCodeHotfixAboutRate It

Referring to a table that has been sorted and indexed in a correlated subquery might cause a Read-access violation when you run PROC SQL.

To temporarily work around this issue, do not presort the table to be indexed. This workaround causes the query to run longer than expected but should allow the query to execute.

To see sample code that reproduces this problem, click the Full Code tab in this note.

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 SASz/OS9.3_M29.3 TS1M2
Z649.3_M29.3 TS1M2
Microsoft® Windows® for x649.3_M29.3 TS1M2
Microsoft Windows 8 Enterprise 32-bit9.3_M29.3 TS1M2
Microsoft Windows 8 Enterprise x649.3_M29.3 TS1M2
Microsoft Windows 8 Pro 32-bit9.3_M29.3 TS1M2
Microsoft Windows 8 Pro x649.3_M29.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.3_M29.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.3_M29.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.3_M29.3 TS1M2
Microsoft Windows Server 2003 for x649.3_M29.3 TS1M2
Microsoft Windows Server 20089.3_M29.3 TS1M2
Microsoft Windows Server 2008 R29.3_M29.3 TS1M2
Microsoft Windows Server 2008 for x649.3_M29.3 TS1M2
Microsoft Windows Server 2012 Datacenter9.3_M29.3 TS1M2
Microsoft Windows Server 2012 Std9.3_M29.3 TS1M2
Microsoft Windows XP Professional9.3_M29.3 TS1M2
Windows 7 Enterprise 32 bit9.3_M29.3 TS1M2
Windows 7 Enterprise x649.3_M29.3 TS1M2
Windows 7 Home Premium 32 bit9.3_M29.3 TS1M2
Windows 7 Home Premium x649.3_M29.3 TS1M2
Windows 7 Professional 32 bit9.3_M29.3 TS1M2
Windows 7 Professional x649.3_M29.3 TS1M2
Windows 7 Ultimate 32 bit9.3_M29.3 TS1M2
Windows 7 Ultimate x649.3_M29.3 TS1M2
Windows Vista9.3_M29.3 TS1M2
Windows Vista for x649.3_M29.3 TS1M2
64-bit Enabled AIX9.3_M29.3 TS1M2
64-bit Enabled HP-UX9.3_M29.3 TS1M2
64-bit Enabled Solaris9.3_M29.3 TS1M2
HP-UX IPF9.3_M29.3 TS1M2
Linux9.3_M29.3 TS1M2
Linux for x649.3_M29.3 TS1M2
Solaris for x649.3_M29.3 TS1M2
* 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.