设为首页 加入收藏

TOP

Oracle数据库imp
2014-11-23 21:48:55 来源: 作者: 【 】 浏览:19
Tags: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'; 
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇OracleDG故障诊断一则:alterdata.. 下一篇如何解决ORA-12547:TNS:lostconta..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: