posts - 5, comments - 0, trackbacks - 0, articles - 0

          oracle刪除表空間

          Posted on 2011-10-31 22:28 playingenjoy 閱讀(277) 評論(0)  編輯  收藏
          --刪除空的表空間,但是不包含物理文件
          drop tablespace tablespace_name;
          --刪除非空表空間,但是不包含物理文件
          drop tablespace tablespace_name including contents;
          --刪除空表空間,包含物理文件
          drop tablespace tablespace_name including datafiles;
          --刪除非空表空間,包含物理文件
          drop tablespace tablespace_name including contents and datafiles;
          --如果其他表空間中的表有外鍵等約束關聯到了本表空間中的表的字段,就要加上CASCADE CONSTRAINTS
          drop tablespace tablespace_name including contents and datafiles CASCADE CONSTRAINTS;

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 洛阳市| 阜南县| 定边县| 嘉荫县| 蒙阴县| 民县| 信丰县| 邯郸市| 靖江市| 县级市| 保山市| 讷河市| 安溪县| 邵东县| 顺平县| 分宜县| 来安县| 安达市| 珠海市| 西青区| 永平县| 云阳县| 汉寿县| 井冈山市| 成武县| 霍山县| 民和| 大埔区| 恩平市| 靖宇县| 山丹县| 广昌县| 比如县| 阜阳市| 开江县| 棋牌| 常宁市| 米泉市| 本溪市| 澄城县| 南通市|