G
Guest
Hi,
I'm doing an assignment getting a java program to talk to a MS Access 2003
database. In my java application I have the following statements:
String query = "Delete from Session_Enrolment Where emp_id = '" + empId +
"'" + " AND session_id = '" + aSessionId + "'";
statement.executeUpdate(query);
However when I run the application I get the error "Too few parameters -
Expected 1"
How do I solve this?
I NEED HELP PLZ!!!!
Thanks.
Simon
I'm doing an assignment getting a java program to talk to a MS Access 2003
database. In my java application I have the following statements:
String query = "Delete from Session_Enrolment Where emp_id = '" + empId +
"'" + " AND session_id = '" + aSessionId + "'";
statement.executeUpdate(query);
However when I run the application I get the error "Too few parameters -
Expected 1"
How do I solve this?
I NEED HELP PLZ!!!!
Thanks.
Simon