ALTER TABLE COMANDAVEN DROP CONSTRAINT CKC_IDORGCMDVENDA_COMANDAVEN 
/ 
ALTER TABLE COMANDAVEN ADD CONSTRAINT CKC_IDORGCMDVENDA_COMANDAVEN CHECK (IDORGCMDVENDA IN
('MES_PKR',
 'MES_FOS',
 'MES_MOB',
 'CMD_PKC',
 'CMD_FOS',
 'CMD_MOB',
 'CMD_MIC',
 'DLV_FOS',
 'DLV_FNC',
 'DLV_SAT',
 'DLV_IFO',
 'DLV_PJA',
 'DLV_SIT',
 'DLV_CAL',
 'DLV_INT',
 'MES_FNC',
 'CMD_FNC',
 'SPS',
 'MES_SAT',
 'CMD_SAT',
 'DLV_SPO',
 'DLV_TAA',
 'DLV_APP',
 'DLV_ADR',
 'DLV_IOS',
 'TGO_APP',
 'TGO_TAA',
 'BGR_APP',
 'BGR_TAA',
 'DLV_ABF',
 'DLV_ONY',
 'DLV_WZP',
 'DLV_YAN',
 'DLV_UBR',
 'DLV_RAP',
 'CMD_THR')) 