1 第一步、 2 默认表空间(sql plus 里面执行),SQL语法: 3 CREATE SMALLFILE TABLESPACE "EAS_D_ZHDC_STANDARD" DATAFILE 'D:\oracle\odb\EAS_D_ZHDC.dbf' (这里要换行) 4 SIZE 2000M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO 5 6 CREATE SMALLFILE TABLESPACE "EAS_D_XJFDC_STANDARD" DATAFILE 'e:\app\odb\EAS_D_XJFDC.dbf' (这里要换行) 7 SIZE 1000M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO 8 9 临时表空间,SQL语法: 10 CREATE SMALLFILE TEMPORARY TABLESPACE "EAS_T_ZHDC_STANDARD" (这里要换行) 11 TEMPFILE 'D:\oracle\odb\EAS_T_ZHDC.dbf ' SIZE 800M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 50M 12 13 CREATE SMALLFILE TEMPORARY TABLESPACE "EAS_T_XJFDC_STANDARD" (这里要换行) 14 TEMPFILE 'e:\app\odb\EAS_T_XJFDC.dbf ' SIZE 800M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 50M 15 16 第二步、 17 新建用户 指定表空间的 默认表空间和临时表空间 赋予dba权限 18 19 ---sql plus 20 创建用户并指定表空间 21 create user jzz identified by system 22 default tablespace EAS_D_USER0507_STANDARD 23 temporary tablespace EAS_T_USER0507_STANDARD 24 25 授权 26 GRANT connect,resource,dba to jzz 27 28 29 第三步、在运行里面执行 导入脚本 30 imp system/system@orcl file="E:\zhdc20111103.dmp" log="E:\zhdc20111103.log" fromuser=ZHDC touser=ZHDC