Problem Note 50276: Bulk loading dates fails when you use the SQL Server Native Client 10 ODBC driver
When you write a date data type to the SQL Server using the BULKLOAD=yes LIBNAME option and the SQL Server Native Client 10 ODBC driver, an error might occur:
libname mydb odbc DSN='SQL_DSN' schema='dbo' user='SQLUser' password=SQLPwd BULKLOAD=YES DBCOMMIT = 10000;
data mydb.newtable;
set work.test;
run;
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
ERROR: CLI execute error: [Microsoft][SQL Server Native Client 10.0]Invalid character value
for cast specification
NOTE: The SAS System stopped processing this step because of errors.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to ODBC | Microsoft® Windows® for x64 | 9.3 | 9.4 | 9.3 TS1M1 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 for x64 | 9.3 | | 9.3 TS1M1 | |
Microsoft Windows Server 2008 | 9.3 | | 9.3 TS1M1 | |
Microsoft Windows Server 2008 R2 for x64 | 9.3 | 9.4 | 9.3 TS1M1 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.3 | 9.4 | 9.3 TS1M1 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 9.3 | | 9.3 TS1M1 | |
Windows 7 Enterprise 32 bit | 9.3 | | 9.3 TS1M1 | |
Windows 7 Enterprise x64 | 9.3 | 9.4 | 9.3 TS1M1 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 9.3 | | 9.3 TS1M1 | |
Windows 7 Home Premium x64 | 9.3 | | 9.3 TS1M1 | |
Windows 7 Professional 32 bit | 9.3 | | 9.3 TS1M1 | |
Windows 7 Professional x64 | 9.3 | 9.4 | 9.3 TS1M1 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.3 | | 9.3 TS1M1 | |
Windows 7 Ultimate x64 | 9.3 | | 9.3 TS1M1 | |
Windows Vista | 9.3 | | 9.3 TS1M1 | |
Windows Vista for x64 | 9.3 | | 9.3 TS1M1 | |
*
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: | high |
Date Modified: | 2013-07-09 21:58:46 |
Date Created: | 2013-06-27 09:23:19 |