pode verificar as restrições de referência a outras tabelas

-- 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