About primary keys [message #11139] |
Tue, 09 March 2004 03:04 |
K.B.Shesha Saai
Messages: 14 Registered: February 2004
|
Junior Member |
|
|
Can anyone suggest me the answer for this
In oracle 7.x or 8
I have a table with a composite primary key (2 cols as primary key, created at the table level)
for example
dept --- table name
deptno --- primary key
dname --- primary key
loc
NOw i want to create another table (for example emp), in which one of columns should refer to only ONE COLUMN of the composite primary key of the dept table. Can i ? If no, WHY ???
Seshu
|
|
|
|