Skip to content
Advertisement

“ORA-00907: missing right parenthesis” during inserting into table

Advertisement

Answer

should be

You are not entering a date, you are entering a VARCHAR2 enclosed in parentheses which Oracle doesn’t seem to handle.

The VARCHAR2 alone might work and get implicitly converted to DATE if your session is configured correctly. It is better to not rely on this kind of configuration and do the conversion explicitly using the TO_DATE function.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement