1. 導入dmp 文件OEM_PART_CAR 表
imp "'test/test@orcl as sysdba'" file=F:\0708.dmp buffer=30720 commit=no full=no grants=yes ignore=yes indexes=yes rows=yes show=no
constraints=yes TABLES=(table1,table2) log=D:\epc.log
table1 和 table2 為導入的目標表名稱
2. 表空間設置大小和自動擴展
select tablespace_name,file_name,autoextensible from dba_data_files where tablespace_name = 'SYSTEM';
alter tablespace SYSTEM add datafile 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM02.DBF' size 4194303;
http://gqsunrise.iteye.com/blog/2015692 Oracle修改表空間為自動擴展 alter database datafile 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM02.DBF' autoextend on; File size (8960000 blocks) exceeds maximum of 4194303 blocks
3. 刪除表SQL
1 drop table table;--刪除表 2 3 purge recyclebin;--清除回收站 4 5 TRUNCATE TABLE table; --刪除表