
/*------ ATD 192251 ------*/
DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE upper(table_name) = 'ItemCliComplemento' AND upper(column_name) = 'ValorSubstributaria';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'alter table Cadtextcad add TempoGarantia numeric(15,2)';
END;
/