
/*------ ATD 399160 ------*/
DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE table_name = 'mu_configuracao_importanfvenda' AND column_name = 'ChaveMovimentacaoNota';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE mu_configuracao_importanfvenda ADD ChaveMovimentacaoNota  char(1)';
END;
