CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 java.sql.SQLException Too few parameters. Expected

Print topic Send  topic

Author Message
annnkay
Posted: 02/04/2002, 10:49 AM

i've been working on a search engine.by following the example in the bookstore application... but i keep having this error java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.what went wrong...
annnkay
Posted: 02/04/2002, 10:56 AM

and also this kind of error - java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect. and i forgot to inform that i'm using the jsp.
Nicole
Posted: 02/05/2002, 1:59 AM

Hello,
1. If you use a DSN connection you cannot use double double quotes (""any_val"") inside custom sql or custom code. Check it and try to replace them with single quotes ('any_val')

2. the error reason is described in error message, so check sql query.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.