| Author |
query error
|
sachins joshi
Greenhorn
Joined: Jun 21, 2006
Posts: 4
|
|
this code give sql exception Too Few parameters.expected [edited to add those code tags Ben referred to] [ July 13, 2006: Message edited by: Jeanne Boyarsky ]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Javaranch tip: If you are going to post more than a line or two of your code, wrap that code in a set of UBB Code tags. Doing so will help to preserve your code's indenting, making it easier to read. If it is easier to read, more people will actaully read it and you will stand a better chance of getting help with your question. I'm going to move this to our JDBC forum where the database gurus hang out. Good-Luck
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26489
|
|
Sachins, Which line of code throws that error?
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26489
|
|
|
Also, does the query work if you run it at the database command line?
|
 |
 |
|
|
subject: query error
|
|
|