creating table: foreign key problem
492518Feb 27 2007 — edited Apr 26 2007I have table1 with col1, col2, col3 making up the primary key. I want to create table2 with col2 a foreign key referencing table1.col2. I get an error when creating the table:
ORA-02270: no matching unique or primary key for this column-list
Is this because the primary key of table1 is made of three columns? How should I be referencing that field then?
Thanks