Code:ALTER TABLE my_table ADD CONSTRAINT check_acct_bal CHECK (acct_type = '1' AND act_bal > 0 OR acct_type = '2' AND act_bal > 100 OR etc.... );
|
Results 1 to 4 of 4
Thread: Another constraint question...Threaded View
|
Click Here to Expand Forum to Full Width |