FIX: "SQLCODE -206" error when you run a query by using the Managed Provider for DB2

Symptoms

When you run a query by using the Managed Provider for DB2 that is included with Microsoft Host Integration Server 2013, the query may fail, and you may receive the following error message:

SQLCODE -206


Cause

This problem may occur when you use the StringBuilder class and the statement is split into multiple lines. The StringBuilder class adds more symbols in the AppendLine function. This causes an issue in the parser.

Resolution

Cumulative update information

The fix that resolves this problem is included in Cumulative Update 1 for Host Integration Server 2013.

Status

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×