Skip to content
Advertisement

Problem in creating new table ORA-00906: missing left parenthesis

Here is my instruction : it works on my friend computer !

A ORA-00906: missing left parenthesis

Any help !

Advertisement

Answer

Please make sure all the “varchar” fields has a length defined. In your second table, it says: date_rdv VARCHAR NOT NULL, which I believe causing the issue, so try to change it into date_rdv VARCHAR(50) NOT NULL and try again.

EDIT:

The reason you get “invalid character” error is that you cannot use “on delete no action” while creating a table with a constraint. Instead you should alter your table after to create your constraints with “on delete cascade” option. Probably like below ( you may need to drop your constraints first):

Check this for more details: https://www.haidongji.com/2006/07/24/defining-no-action-foreign-key-constraints-in-oracle/comment-page-1/

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