Skip to content
Advertisement

ORA-00907: missing right parenthesis again

Why? I have used

before, I don’t know if it makes a difference but… what’s is wrong with this?

Advertisement

Answer

multiple issues :

  1. Identity column in Oracle are created using generated always as identity
  2. Int datatype doesn’t need length.
  3. referencing to another table is based on columns , you need to link a column to a column in another table , so when you make fk to id_p in Pergunta , you need to define a column for that in your table

here is what I mean:

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