ALTER TABLE ENDERAUTOFORNE DROP CONSTRAINT CKC_ENDAF_IDENDFATURAMENTOAF
/

ALTER TABLE ENDERAUTOFORNE ADD CONSTRAINT CKC_ENDAF_IDENDFATURAMENTOAF CHECK (IDENDFATURAMENTOAF IS NULL OR (IDENDFATURAMENTOAF IN ('EA', 'NN', 'EP', 'EE', 'CL', 'IE', 'FC')))
/

ALTER TABLE ENDERAUTOFORNE DROP CONSTRAINT CKC_ENDAF_IDREPRESENTAFATAF
/

ALTER TABLE ENDERAUTOFORNE ADD CONSTRAINT CKC_ENDAF_IDREPRESENTAFATAF CHECK (IDREPRESENTAFATAF IS NULL OR (IDREPRESENTAFATAF IN ('EA', 'NN', 'NF', 'RF', 'EP', 'CL', 'EE', 'FC')))
/