Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird situation on removing field
Message
From
30/05/2013 04:39:17
 
 
To
30/05/2013 02:45:06
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01575097
Message ID:
01575112
Views:
71
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform