
/*------ ATD 203754 ------*/
DECLARE v_count NUMBER(1) := 0; 
BEGIN 
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE Upper(table_name) = 'BaseCalFat' AND Upper(column_name) = 'DiferencialAliquotaST'; 
EXCEPTION 
WHEN NO_DATA_FOUND THEN 
EXECUTE IMMEDIATE 'Alter table BaseCalFat add DiferencialAliquotaST number(1) default(0)'; 
END;
