Management Studio - Index properties grayed out

If I right click on an index, the properties context menu is grayed out as well as the "New Index...", "Disable", and "Delete". If I right click on a table and click modify, I can add and edit indexes from there just fine. Strangely enough "Included Columns" is grayed out though.

Answer this question

Management Studio - Index properties grayed out

  • Slippyr4

    Was the database designer or table designer opened at the time We prevent the index dialogs from being launched when the table is being designed.

    The database and table designers work by making the state of the tables (including indexes) match the internal model in the designers. This includes index and constraint definitions. Reconciling the state on the server to the state in the model can "undo" any change made outside the designer environment. For example, if you open the table designer in one instance of Management Studio and make a change (say, add a column) and at the same time change an index on that table using another instance of Management Studio, when you save the changes in the table designer, it will recreate the index with its previous definition (after warning you) because the old index is what the table designer loaded into its internal model when it launched.

    In a pre-release version of SQL Server 2005, we didn't prevent the index dialogs from being launched when the table or database designers were designing the index' table, and we got exactly this kind of "last save wins" behavior, which really confused users.

    Hope this helps,
    Steve



  • Evan Mulawski

    That was it. I had it open in another tab. Thanks!
  • Management Studio - Index properties grayed out