Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate Key/Unique Key maintenance
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01462924
Message ID:
01462926
Vues:
56
This message has been marked as a message which has helped to the initial question of the thread.
>Some time ago I set up an alternate key (unique key) index (named AK_CompReference2). Now I want to drop it but when I try to Delete it in the SSMS I get error that "the index cannot be dropped because it is being used in UNIQUE KEY constraint enforcement" But what if I don't want this enforcement any more? How can I drop this index?

You may want to first drop unique constraint.

Check http://msdn.microsoft.com/en-us/library/ms177420.aspx
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform