Unable to create index because of duplicate that doesn't exist?

后端 未结 5 2012
眼角桃花
眼角桃花 2021-02-03 17:19

I\'m getting an error running the following Transact-SQL command:

CREATE UNIQUE NONCLUSTERED INDEX IX_TopicShortName
ON DimMeasureTopic(TopicShortName)
         


        
5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-03 17:51

    It should have specified the duplicate key value in the error message. "The duplicate key value is (' ', ' ', ' ') The statement has been terminated. You have duplicate values that need to be addressed.

提交回复
热议问题