--增加字段
DECLARE N NUMBER;
BEGIN
  SELECT COUNT(1) INTO N FROM USER_TAB_COLUMNS WHERE TABLE_NAME = upper('表名') AND COLUMN_NAME = upper('增加的字段名');
  IF N = 0 THEN
    BEGIN
       EXECUTE IMMEDIATE 'ALTER TABLE 表名 ADD 增加的字段名 VARCHAR2(1000)';
       COMMIT;
       END;
  END IF;
END;