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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Referential Integrity: Best way to reference parent table from child? *Newbie*

Re: Referential Integrity: Best way to reference parent table from child? *Newbie*

From: TPeters197 <tpeters197_at_aol.com>
Date: 2 Nov 1998 19:59:29 GMT
Message-ID: <19981102145929.18371.00002919@ng-fa1.aol.com>

>would it be more efficient to create an auto-incrementing sequence in

>>the Links field which can then be used as the Primary Key in the Links
>>table.

Yes, I think so.
I would go with a sequence-generated key, especially since URLs can be long and ugly. You will probably need to put a unique constraint on the URL column in the parent table though. Received on Mon Nov 02 1998 - 13:59:29 CST

Original text of this message

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