
/*------ ATD 383123 ------*/
DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE table_name = 'COMPLEMENTONFENTRA' AND column_name = 'BLOQUEARCALCULOFCP';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE COMPLEMENTONFENTRA ADD BLOQUEARCALCULOFCP  NUMERIC (1,0)';
END;
/*------ ATD 383123 ------*/
DECLARE v_count NUMBER(1) := 0;
BEGIN
SELECT 1 INTO v_count FROM USER_TAB_COLUMNS WHERE table_name = 'COMPLEMENTONFENTRA' AND column_name = 'BLOQUEARCALCULOFCP';
EXCEPTION
WHEN NO_DATA_FOUND THEN
EXECUTE IMMEDIATE 'ALTER TABLE COMPLEMENTONFENTRA ADD BLOQUEARCALCULOFCP  NUMERIC (1,0)';
END;