Add unique constraint depending on value in SQL

后端 未结 3 778
被撕碎了的回忆
被撕碎了的回忆 2021-01-16 00:54

i have a situation where i want to add unique constaint only when there is a certain value in other field for example the table is ID CategoryName Name Value CategoryID

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