Problem Note 39260: An "incorrect syntax" error occurs when you connect to Microsoft SQL Server 2008
When you append a SAS data set to the Microsoft SQL Server 2008, you might receive the following errors:
ERROR: CLI execute error: [SAS/ACCESS to SQL Server][ODBC SQL Server Driver]
[SQL Server]Incorrect syntax near the keyword 'schema'. :
[SAS/ACCESS to SQL Server][ODBC SQL Server Driver][SQL Server]
Statement(s) could not be prepared.
ERROR: CLI execute error: [SAS/ACCESS to SQL Server][ODBC SQL Server Driver]
[SQL Server]Incorrect syntax near the keyword 'group'. :
[SAS/ACCESS to SQL Server][ODBC SQL Server Driver][SQL Server]
Statement(s) could not be prepared.
To fix this problem, add the parameter
QuoteId=yes to the data-source entry in the odbc.ini file.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Microsoft SQL Server | 64-bit Enabled AIX | 9.2 TS2M2 | |
64-bit Enabled HP-UX | 9.2 TS2M2 | |
64-bit Enabled Solaris | 9.2 TS2M2 | |
HP-UX IPF | 9.2 TS2M2 | |
Linux | 9.2 TS2M2 | |
Linux for x64 | 9.2 TS2M2 | |
Solaris for x64 | 9.2 TS2M2 | |
*
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.
Type: | Problem Note |
Priority: | medium |
Topic: | Data Management ==> Data Sources ==> External Databases ==> MS SQL Server Data Management ==> Data Sources ==> External Databases ==> ODBC (Open Database Connectivity)
|
Date Modified: | 2010-06-10 09:54:38 |
Date Created: | 2010-04-02 16:49:06 |