Syntax errors
When I execute this script, I got 2 errors at end of the script "myConnection" like:
- ; expected
- Invalid expression term ')'
Please help me correcting these syntax errors..
String insertCmd = "insert into PATIENTS (PATIENT_NUMBER, PATIENT_NAME, PATIENT_LASTNAME, PATIENT_SEX, PATIENT_TREATSTARTDATE)" +
" values(:p_patient_number, :p_patient_name, :p_patient_lastname, :p_patient_sex, :p_patient_treatstartdate)", myConnection);
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

alijabari8 reputationPosted Dec 3, 2004, 1:30 AM EST
aylin_sk87 reputationPosted Dec 3, 2004, 5:08 AM EST