Foreign Key/Primary Key Problem [message #374061] |
Wed, 23 May 2001 02:51 |
Arindam Malakar
Messages: 12 Registered: May 2001
|
Junior Member |
|
|
Hi All,
I am Having the following problem:
In Table A I have defined Primary Key(p,q)
p,q=two attributes of the table.
Now,I want to define Table B such that p will be the foreign key.So I have to define the attribute p of Table B by referencing Table A.
But while defining Table B,it is giving the error:
p must be primary key or unique key.
Whether it is possible to do any way.Please help me.Waiting for the earliest reply.
With regards,
Arindam Malakar
|
|
|
|
|
|
|
|