Tushar said:
Can UPDATE be used to populate an Access DB using JDBC? I donot want to
use INSERT because it appends data into the DB on each executionof the
aaplication.Pls help.
From your previous post it seems that your problem is with SQL and not
with Java. Access is the ideal tool to solve the problem. Use it to
see exactly what happens with your INSERT and UPDATE queries. I often
find it easier to formulate the query in the Access query design view
and then convert it to SQL using the SQL view. You can cut and past
the result to your Java program. You will probably need to substitute
some Java variables for the constants you used to write the query. If
so, you can use a Java debugger to show you the query just before it
is executed and, if necessary, cut and paste it to Access to debug it.