SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 15269: Cannot create SQL Server table if LIBNAME option IGNORE_READ_ONLY_COLUMNS=YES is set

DetailsHotfixAboutRate It

Attempting to create a SQL Server table using the SAS® SQLSVR LIBNAME engine will fail if the LIBNAME option IGNORE_READ_ONLY_COLUMNS=YES is set.

The error received will be similar to:

   ERROR:  CLI prepare error: [DataDirect][ODBC SQL Server Driver][SQL
           Server]Line 1: Incorrect syntax near ')'. : [DataDirect]
           [ODBC SQL Server Driver][SQL Server]Statement(s) could not be
           prepared.

The workaround for this issue is to remove the LIBNAME option when attempting to create tables.

Select the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to Microsoft SQL ServerMicrosoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M39.1 TS1M3 SP4
64-bit Enabled Solaris9.1 TS1M39.1 TS1M3 SP4
Linux9.1 TS1M39.1 TS1M3 SP4
64-bit Enabled HP-UX9.1 TS1M39.1 TS1M3 SP4
Linux on Itanium9.1 TS1M39.1 TS1M3 SP4
HP-UX IPF9.1 TS1M39.1 TS1M3 SP4
64-bit Enabled AIX9.1 TS1M39.1 TS1M3 SP4
Tru64 UNIX9.1 TS1M39.1 TS1M3 SP4
* 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.