Modify a Unique key

  • We have a unique key on 4 columns of a table. I also see there is also a non clustered index created for it.

    Now I would like to add one more column for the key and index, how can I do that from both UI and T_SQL?

    Thanks

  • Drop the unique key/index.

    Add the new column.

    Create a new Unique Index on the now 5 columns.

  • Thanks, got it.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply