Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Releations
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2000
Application:
Web
Divers
Thread ID:
01592613
Message ID:
01592648
Vues:
44
>Hi thanks but I don't understand, what I'm trying to do is nothing more than create a one to many relation which I've successfuly done with other tables, e.g. I have a master table with a pk of MasterRef and a Claim table with a fk of MasterRef and I managed to create a reference without a problem and the claim table has many MasterRef values which are not unique

In your case it looks like you reversed the relations.

In Address table AddressID should be a primary key (most likely clustered) and in the Customer table it should be a foreign key referencing Address table.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform