Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error Code

 
Phaneendra Gugggilam
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DB2 SQL error: SQLCODE: -313, SQLSTATE: 07001, SQLERRMC: null
 
Campbell Ritchie
Sheriff
Pie
Posts: 48961
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look on the DB2 website for what the error codes mean.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By coincidence, I'm already on the DB2 website so I can save you some time. It means:

"The number of host variables is not correct for the number of parameter markers."

So it sounds like you have more/less parameters in your query than you have bound.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic