Creating SQL Server index on a nvarchar column
- by Jahan
When I run this SQL statement:
CREATE UNIQUE INDEX WordsIndex ON Words (Word ASC);
I get the following exception message:
The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.Words' and the index name 'WordsIndex'. The duplicate key value is (ass).
The statement has been terminated.
…