• 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
Marshal
Posts: 53207
124
  • 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!