PRIMARY/ FOREIGN KEYS
Hello everyone!
I have 2 questions:
1) How can I state 2 foreign keys in the same table?
For example: CREATE TABLE test(id,start,end,name,description) and I want to state that both "name" and "id" are foreign keys, which refer to other tables.
2) How can I define 2 columns of a table which are foreign keys as primary keys?
For example: CREATE TABLE test(name,description) and I want to set both "name" and "description", which are foreign keys and refer to other tables to be the primary key for the table test.
Any ideas?
Subject
Written By
Posted
PRIMARY/ FOREIGN KEYS
June 25, 2005 09:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.