SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49150: A "Failed to fetch SQL results" error occurs when SAS® In-Database runs the procedures DMREG, DMDB, or DMINE

DetailsHotfixAboutRate It

When you use SAS In-Database to run PROC DMREG, PROC DMDB, or PROC DMINE, the following errors might occur:

ERROR: Failed to fetch SQL results.
ERROR: Begin messages from the DBMS.
ERROR: Error code = -2130708362.
ERROR: SQL state from the DBMS HY001.
ERROR: Memory allocation error
ERROR: End messages from the DBMS.

When those procedures run, permanent data tables are created in the database. After each procedure runs, these permanent data tables should be deleted automatically. However, they are not deleted. If another user ID runs the same code later, then the database does not allow the code to run due to permissions that are set on the table.

There is no workaround.

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 SASWindows Vista for x649.3_M19.3 TS1M1
Windows Vista9.3_M19.3 TS1M1
Windows 7 Ultimate x649.3_M19.3 TS1M1
Windows 7 Ultimate 32 bit9.3_M19.3 TS1M1
Windows 7 Professional x649.3_M19.49.3 TS1M19.4 TS1M0
Windows 7 Professional 32 bit9.3_M19.3 TS1M1
Windows 7 Home Premium x649.3_M19.3 TS1M1
Windows 7 Home Premium 32 bit9.3_M19.3 TS1M1
Windows 7 Enterprise x649.3_M19.49.3 TS1M19.4 TS1M0
Windows 7 Enterprise 32 bit9.3_M19.3 TS1M1
Microsoft Windows XP Professional9.3_M19.3 TS1M1
Microsoft Windows Server 2008 for x649.3_M19.49.3 TS1M19.4 TS1M0
Microsoft Windows Server 20089.3_M19.3 TS1M1
Microsoft Windows Server 2003 for x649.3_M19.3 TS1M1
Microsoft Windows Server 2003 Standard Edition9.3_M19.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition9.3_M19.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition9.3_M19.3 TS1M1
Microsoft® Windows® for x649.3_M19.49.3 TS1M19.4 TS1M0
64-bit Enabled AIX9.3_M19.49.3 TS1M19.4 TS1M0
64-bit Enabled HP-UX9.3_M19.49.3 TS1M19.4 TS1M0
64-bit Enabled Solaris9.3_M19.49.3 TS1M19.4 TS1M0
HP-UX IPF9.3_M19.49.3 TS1M19.4 TS1M0
Linux9.3_M19.49.3 TS1M19.4 TS1M0
Linux for x649.3_M19.49.3 TS1M19.4 TS1M0
Solaris for x649.3_M19.49.3 TS1M19.4 TS1M0
* 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.