Skip to content
Advertisement

ORACLE CREATE TABLE with FOREIGN KEY error

I am a beginner to Oracle and have been having problems creating a table with a foreign key, I have created the parent table region as well and have been receiving the same error. I have researched on W3school and used the same syntax but still no help.

Advertisement

Answer

Leave “FOREIGN KEY” out, if you want to declare a foreign key constraint inline.

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