Using Multi Column Unique Indexes vs Single Hashed Column
问题 I've a table which I need to give unique constraint to multiple columns. But instead of creating multi column unique index, I can also introduce an extra column based on hashing of all the required fields. So which one will be more effective in terms of database performance? MySQL suggests the hashed column method but I couldn't find any information regarding SqlServer. 回答1: The link you give states: If this column is short, reasonably unique, and indexed, it might be faster than a “wide”