Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
Access DB
Grishma Dube
Ranch Hand
Posts: 275
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am trying to update a row in a Access database, with the following query.
"update inv set Flag='T' where uniq_id='"+uniq_id+"'";
I'm getting the following error:-
org.apache.jasper.JasperException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
When I am trying the same query with oracle, it is working fine.
Is there any syntax difference in Access?
Grishma
Paul Sturrock
Bartender
Posts: 10336
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there any syntax difference in Access?
Yes - there are odd nuances in Access "SQL" you won't see anywhere else. But your statement should run fine in both DBs. Assuming there is a value for uniq_id that is.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
java.sql.SQLException: [Micorsoft][ODBC Microsoft Access Driver] Too few parameters.
Problem in updating/deleting data from MS Access Database
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters.
BatchUpdateException : getUpdateCounts doesn't work properly
SQL exception
More...