Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing a combo index
Message
 
 
To
01/02/2011 13:01:30
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01498181
Message ID:
01498183
Views:
32
>I am trying to remove a combo index by script. When removing a single index key, we usually do this:
>
>
>DROP INDEX [Reply.NoMember]
>
>
>...where Reply is the table and NoMember is the field.
>
>But, when using a combo index, our index is combined with multiple keys. So, doing this will not work:
>
>
>DROP INDEX [Reply.ReplyNoMember]
>
>
>...assuming the table Reply has a combo index named ReplyNoMember.
>
>How to remove it by script?

What is the exact error you're getting and what is the script to create it so I can test the same?

Also, your syntax seems to be a bit wrong according to DROP INDEX
DROP INDEX ReplyNoMember ON dbo.Reply
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform