Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> URGENT : A doubt regarding foreign key and Primary key

URGENT : A doubt regarding foreign key and Primary key

From: Parvinder Singh <parora_at_questone.com>
Date: Tue, 30 Nov 1999 12:56:27 GMT
Message-ID: <3843C9D2.79A55ACC@questone.com>


Hi all

I have got a small doubt ...if i have got a field in a table which is a primary key and that field is a foreign key in some other table then these will the storage of these two fields be the same ?

for e.g

Tab1

Tab2
-Identity(F)
-Description

now the Identity of tab2 is a foreign key and is referencing the ID of Tab1 and over there its a primary key (obviously)

so the storage of Identity and ID will be the same or will it be different ??? in the sense will a value of ID - 40 and Identity - 40 ...will these two values be replicated in different storeage areas or only in one common place ?..Any idea about it ?

I hope i am clear with my doubt

Thanks in advance

Regards
Parvinder

Please reply to parora_at_questone.com too ! Received on Tue Nov 30 1999 - 06:56:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US