
/*------ ATD 200476 ------*/
DECLARE v_count NUMBER(1):=0;
BEGIN
  SELECT count(*) INTO v_count FROM USER_TAB_COLUMNS WHERE table_name = 'GERANFECF' AND column_name = 'RUSUARIO';
    IF v_count=0 then
        EXECUTE IMMEDIATE 'ALTER TABLE GERANFECF ADD RUSUARIO INT';
    END IF;
END;