Joao Freitas

Greenhorn
+ Follow
since Dec 05, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joao Freitas

Hello to all,

I'm a new member and I have almost no experience in Java and JDBC, I've only programmed in C. I have an assignment for my Database course and I've been struggling for some days with a problem I can't fix.

After running the code in the Eclipse IDE I get the error ORA-00936: missing expression tips. I've used the debugger and I guess the problem is in this part of the code:



The idea is to use prepared statements to then pass a parameter to the query at the execution time. This parameter is a number which correspondes to the CourseID of a given course in the COURSE table. Can you spot any problem?


Thank you very much in advance.

Regards,

Joao Freitas