aspose file tools*
The moose likes JDBC and the fly likes Error Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error Code " Watch "Error Code " New topic
Author

Error Code

Phaneendra Gugggilam
Greenhorn

Joined: Sep 23, 2008
Posts: 14
DB2 SQL error: SQLCODE: -313, SQLSTATE: 07001, SQLERRMC: null
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38910
    
  23
Look on the DB2 website for what the error codes mean.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error Code