Oracle數據庫imp

創建表空間

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';



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章