怎樣IMP數(shù)據(jù)到oracle指定表空間?
1、先創(chuàng)建該表空間 CREATE SMALLFILE TABLESPACE "TS_JXSTAR_DATA" DATAFILE 'G:\EAM\oracle\oradata\ORCL\TS_JXSTAR_DATA.dbf' SIZE 5M AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
2、執(zhí)行下面語句另該用戶不能使用該表空間 revoke unlimited tablespace from youruser;alter user youruser quota unlimited on tablespacename;
3、執(zhí)行數(shù)據(jù)庫文件導(dǎo)入(IMP)
4、刪除步驟1創(chuàng)建的表空間 drop tablespace TS_JXSTAR_DATA INCLUDING CONTENTS AND DATAFILES