create tablespace ICITY datafile 'D:\Oracle\oradata\orcl\ICITY.DBF' size 400M autoextend on next 10M maxsize unlimited extent management local;
創建臨時表空間
create temporary tablespace ICITY_TEMP tempfile 'D:\Oracle\oradata\orcl\ICITY_TEMP.DBF' size 100M autoextend on next 10M maxsize unlimited extent management local;
創建用戶並指定用戶表空間
create user icity identified by "12345678" default tablespace ICITY_ICP temporary tablespace ICITY_ICP_TEMP;分配用戶角色
grant dba to icity;導入ICITY_ICP用戶數據
imp icity/12345678@orcl file='e:\icity_icp20140417.dmp' fromuser='icity' touser='icity';