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
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.
View products that this article applies to.
cm.CommandText = "SELECT * from TABLE WHERE COL1 = @COL and COL2 = @COL";
cm.Parameters.AddWithValue("@COL", "AAA");
Keywords: kbqfe, kbfix, kbnotautohotfix, kbexpertiseinter, kbbug, kbsurveynew, kb