码迷,mamicode.com
首页 >  
搜索关键字:oracle移动表    ( 2个结果
oracle移动表所在表空间
1.修改表的空间altertableTABLE_NAMEmovetablespaceTABLESPACENAME查询当前用户下的所有表select‘altertable‘||table_name||‘movetablespacetablespacename;‘fromuser_tables;2.修改表的索引的空间alterindexINDEX_NAMErebuildtablespaceTABLESPACENAME查询当前用户下的所有索..
分类:移动开发   时间:2015-06-04 17:27:22    阅读次数:151
oracle移动表
oracle移动表 在创建表时可以为表指定存储空间,如果不指定,oracle会将该表存储到默认的表空间中。根据需要可以将表从一个表空间移动到另一个表空间中。语法如下: alter table table_name move tablespace tablespace_name; SQL> select table_name,tablespace_name from user_tables; ...
分类:移动开发   时间:2015-03-15 07:06:52    阅读次数:145
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!