
/*------ ATD 357295 ------*/
-- Tabela BASECALFAT coluna CARGALIQUIDA
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) = 'CARGALIQUIDA'; 
EXCEPTION 
WHEN NO_DATA_FOUND THEN 
EXECUTE IMMEDIATE 'ALTER TABLE BASECALFAT ADD CARGALIQUIDA NUMERIC(5,2) '; 
END;
/