can check constraints reference other tables

Solutions on MaxInterview for can check constraints reference other tables by the best coders in the world

showing results for - "can check constraints reference other tables"
Yohann
03 Sep 2017
1-- Check constraints cannot refer to other tables, but can call a function
2alter table YourTable
3add constraint chk_CheckFunction
4check (dbo.CheckFunction() = 1)
5
similar questions