I'd think that something like ...
... or ...Code:check (NOT (ANALYSIS1CODE like ' %' and invoicenumber like 'CN%'))
Code:check (ANALYSIS1CODE not like ' %' or invoicenumber not like 'CN%')
|
Results 1 to 3 of 3
Thread: Check constraint with conditionThreaded View
|
Click Here to Expand Forum to Full Width |