• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error Code  RSS feed

 
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
Posts: 54527
150
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!