Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

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

SQLCODE -290, invalid description

Cause

This problem may occur when you are using named parameters and use one of the named parameters two times in your query. The following code sample shows this problem:

cm.CommandText = "SELECT * from TABLE WHERE COL1 = @COL and COL2 = @COL";
cm.Parameters.AddWithValue("@COL", "AAA");


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?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×