File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Joined: Sep 23, 2008
Nov 14, 2008 02:13:00
DB2 SQL error: SQLCODE: -313, SQLSTATE: 07001, SQLERRMC: null
Joined: Oct 13, 2005
Nov 14, 2008 04:26:00
Look on the DB2 website for what the error codes mean.
Joined: Apr 14, 2004
Nov 14, 2008 04:36:00
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.
I agree. Here's the link:
subject: Error Code
print statement in the declaration ...
WA #1.....word association
problem in retreiving value
Getting error in setupConnection()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015