梦幻之旅

DEBUG - 天道酬勤

   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  671 随笔 :: 6 文章 :: 256 评论 :: 0 Trackbacks
1.创建表空间
create tablespace out_data 
logging 
datafile 
'D:\oracle\oracle\product\10.2.0\oradata\outdata\out_data01.dbf' 
size 32m 
autoextend 
on 
next 32m maxsize 20480m;

2.创建用户并指定表空间
create user sms_out identified by kk8713 default tablespace out_data;


3.为用户分配权限资源
grant connect,resource to sms_out; 

4.导入导出数据1
exp test/kk1238713@mydata file=d:\daochu.dmp owner=(test)

imp em_test
/test/kk1238713fromuser=test touser=em_test file=d:\daochu.dmp

5.导入导出数据2
exp test/kk871356@TEST file=d:custome_data.dmp tables=(es_sms_customer) 
imp test
/kk871356@TEST file=d:custome_data.dmp 
posted on 2011-08-22 10:03 HUIKK 阅读(287) 评论(0)  编辑  收藏 所属分类: DB-DailyMmaintenance

只有注册用户登录后才能发表评论。


网站导航: