ALTER TABLE ITEMVENOUTIMPOS DROP CONSTRAINT UN_ITEMVENOUTIMPOS_01
/
ALTER TABLE ITEMVENOUTIMPOS 
      ADD CONSTRAINT UN_ITEMVENOUTIMPOS_01 UNIQUE (CDFILIAL, CDCAIXA, DTREDUCAOZ, CDIMPOSTO, CDPRODUTO, CDSITUTRIBNFE, CDFISCOPERSN, VRALIQIT, DTEMISSAONFCE, IDORIGEMVENDA, CDSERIESAT)
/ 