Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird situation on removing field
Message
De
30/05/2013 04:39:17
 
 
À
30/05/2013 02:45:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01575097
Message ID:
01575112
Vues:
66
This message has been marked as the solution to the initial question of the thread.
>Someone will have to explain me a very weird situation I cannot simulate, thus cannot understand, but someone else has a problem with an operation against SQL Server where I have not.
>
>A table has 100 fields. About 50 fields have an index. We are talking single index. Thus, the field is created and marked for the index.
>
>So, in SSMS, in the Tables\Indexes treeview, we can see the index.
>
>If we right click on the table and go in the designer, I can remove the field. I click Save and it's done. Even on a table that has 3 to 10 million records, this works instantly.
>
>Recently, I ran a simulation before going in production. I ran the exact same set of procedures on two servers. This approach worked very well. Nothing to report was observed.
>
>However, once we deploy, the DBA notes that this is impossible to do because we cannot delete a field if it has an index as a drop failed message will appear indicating the index is interfering. So, why it this possible that I never have this problem and he already has it?

SSMS has a lot of bugs.

Check version.

General warning!
When you do a table modify,
you can destroy the db structure or lost data.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform