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
Why it is not INSERTing
Joined: Nov 21, 2001
Jun 20, 2003 23:28:00
Please tell me what is the meaning of following exception
: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
It is occuring on the following lines
SQL= "INSERT INTO ListOfTables (TableList) VALUES (Amir)"; stat.execute(SQL);
Joined: Oct 15, 2002
Jun 21, 2003 00:10:00
Just a guess, but when you are using a
literal for a query do you need to have single quotes around the parameter value (as 'Amir')?
Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
I agree. Here's the link:
subject: Why it is not INSERTing
count number of coulmns in table?
Problem in RDBMS
how do i do this urgent
classpath - differences between java command line argument and environment variable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014