What is the difference between Unique Key and Index with IsUnique=Yes?

后端 未结 6 1480
别那么骄傲
别那么骄傲 2021-02-04 23:45

I have a table with a primary key, but I want two other columns to be constrained so the combination of the two is guaranteed always to be unique.

(a dumb example: In a

6条回答
提交回复
热议问题