peut vérifier les contraintes de référence d'autres tables

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