Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The Microsoft OLE DB Provider for DB2 can't read data that is stored in DB2 for Windows V10.5 LONG VARCHAR when DQP linked server SELECT statement is processed


View products that this article applies to.

Symptoms

Consider the following scenario:

  • You run a SQL Server 2008 R2 Distributed Query Processor four-part linked server query SELECT statement against a DB2 for Windows V10.5 database.
  • The data is stored in DB2 for Windows V10.5 as LONG VARCHAR.

In this scenario, you receive the following error message:

↑ Back to the top


Cause

The Microsoft OLE DB Provider for DB2 and the Microsoft DRDA Application Requester Client for DB2 don't convert DB2 for Windows V10.5 LONG VARCHAR data type to the correct Microsoft OLE DB data type consistently. This issue occurs when both of the following are processed:

  • The column schema
  • The query result sets

↑ Back to the top


Resolution

This issue is fixed in Cumulative Update 2 for Host Integration Server 2016.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

Learn about the terminology Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbQFE, kbfix, kbBug, kbExpertiseInter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 4036045
Revision : 8
Created on : 1/10/2018
Published on : 1/10/2018
Exists online : False
Views : 164