Baba Bizlowsky wrote:
I can't understand what is wrong in here...
I have a simple table: PERSON [ID (integer), NAME (string), SURNAME (string)]
PreparedStatement prep=conn.prepareStatement("INSERT INTO PERSON(ID,NAME,SURNAME) VALUES (?,?,?)");
result of that is:
java.sql.SQLException: ORA-00917: missing comma
What comma? I KNOW this is something trivial and I'm probably missing it due to it being 3am, but it is driving me nuts.. help, please?
How do you "print out" on the screen the contents of the Prepared Statement?
Thanks in advance. Cheers!