| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Do I need a PK on a join table?
Knut Stolze wrote:
>
Not always. Sometimes you don't want or need an index for every unique constraint. For example:
If the key is a superkey with a candidate key already defined
If check constraints prevent duplicates
If constraints on views prevent duplicates
You may still need the constraint to support a foreign key. You don't need the index.
-- David PortasReceived on Thu Feb 16 2006 - 16:03:18 CST
![]() |
![]() |