Problem Note 44750: A warning occurs when an OLE DB LIBNAME statement accesses an SQL Server table that contains a VARCHAR(MAX) data type
SQL Server data is not read properly under the following conditions:
- You use the LIBNAME OLEDB statement to connect to Microsoft SQL Server.
- You specify CONNECTION=SHARED and READBUFF=.
- The SQL Server table contains a VARCHAR(MAX) data type.
A warning that is similar to the following might be written to the log in this scenario:
WARNING: During read: Value cannot be determined for column COLUMN1
When you use the LIBNAME ODBC statement to connect to Microsoft SQL Server and specify CONNECTION=SHARED and READBUFF= , the same DBMS table is read properly.
SQLOLEDB is a legacy provider. To circumvent this problem, you must use the new provider, such as the SQL Server Native Client (SQLNCLI11) or the Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL).
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to OLE DB | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |
| Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |
| Microsoft® Windows® for x64 | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | |
| Microsoft Windows XP Professional | 9.2 TS2M3 | |
| Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
| Windows 7 Enterprise x64 | 9.2 TS2M3 | |
| Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
| Windows 7 Home Premium x64 | 9.2 TS2M3 | |
| Windows 7 Professional 32 bit | 9.2 TS2M3 | |
| Windows 7 Professional x64 | 9.2 TS2M3 | |
| Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
| Windows 7 Ultimate x64 | 9.2 TS2M3 | |
| Windows Vista | 9.2 TS2M3 | |
| Windows Vista for x64 | 9.2 TS2M3 | |
*
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: | 2011-10-31 14:04:03 |
| Date Created: | 2011-10-27 15:51:18 |