Home » SQL & PL/SQL » SQL & PL/SQL » Primary key vs foreing key
Primary key vs foreing key [message #381587] Sun, 18 January 2009 17:43 Go to next message
naps
Messages: 4
Registered: January 2009
Junior Member
Hello,

Is it possible to have in a table the primary key of table as a foreing reference key?


Thx,

naps
Re: Primary key vs foreing key [message #381588 is a reply to message #381587] Sun, 18 January 2009 17:50 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>Is it possible to have in a table the primary key of table as a foreing reference key?
yes


You need to help us by following the Posting Guidelines as stated below.
http://www.orafaq.com/forum/t/88153/0/
So we can help you.
Re: Primary key vs foreing key [message #381622 is a reply to message #381588] Mon, 19 January 2009 00:31 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
How does this post not comply to the posting guidelines?
Re: Primary key vs foreing key [message #381630 is a reply to message #381587] Mon, 19 January 2009 00:48 Go to previous message
Michel Cadot
Messages: 68733
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Yes, it is possible. Why don't you try it?

Regards
Michel
Previous Topic: filter oder record on tacle (merged 3)
Next Topic: Problem in handling Sysdate
Goto Forum:
  


Current Time: Sat Feb 08 20:39:43 CST 2025