I am trying to connect to the DB2 from entity frame work (.Net 3.5. using Db2 add-ins). But it throws the following error: Does any one know how to fix this.
---------------------------
Microsoft Visual Studio
---------------------------
An error occurred while connecting to the database. The database might be unavailable. An exception of type 'System.Data.EntityCommandExecutionException' occurred. The error message is: 'An error occurred while executing the command definition. See the inner exception for details.
The inner exception caught was of type 'IBM.Data.DB2.DB2Exception', with this error message: 'ERROR [42622] [IBM][DB2] SQL0107N The name "RETURNDATETIMEPRECISION" is too long. The maximum length is "18". SQLSTATE=42622
'.'.

Suthish NairRank #92 · 22.8K reputationPosted Mar 29, 2011, 12:38 PM EDT
Sarika k16 reputationPosted Mar 29, 2011, 1:09 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Mar 30, 2011, 7:17 AM EDT
Sarika k16 reputationPosted Mar 31, 2011, 10:25 AM EDT
Sarika k16 reputationPosted Apr 1, 2011, 2:21 PM EDT
anyway thanks for your help Suthish.
matt cupryk25 reputationPosted Apr 8, 2011, 9:38 AM EDT