📜  可以检查约束引用其他表 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:25.833000             🧑  作者: Mango

代码示例1
-- Check constraints cannot refer to other tables, but can call a function
alter table YourTable
add constraint chk_CheckFunction
check (dbo.CheckFunction() = 1)