Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexes and Foreign Key Constraints
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00449173
Message ID:
00449300
Vues:
7
>>I am a little mixed up on constraints and indexes. Are indexes automatically created when you create a primary key or unique consrtaint, but not when you create a foreign key constraint? This seems a bit odd.
>
>When you add a Foreign key contraint, the index on the Parent table must already exist. It doesn't have to exist on the child. It is created with the Alter Table or Create Table syntax.

Thanks.
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform