Add unique constraint in SQL Server 2008 GUI?

后端 未结 4 1510
借酒劲吻你
借酒劲吻你 2020-12-04 17:27

I have an existing table with data. I have just added a new column but I cannot find how to add a unique constraint on that column. Could someone please advise? Right-clicki

4条回答
  •  日久生厌
    2020-12-04 18:24

    Try right clicking and choosing Indexes/Keys, adding a new index and setting Is Unique to Yes.

提交回复
热议问题