oracle 创建 sql developer 迁移资料库

以下内容摘自oracle 11g 权威指南

 

sql developer 迁移工作台目前支持的数据库

microsoft sql server(版本7.0 ,2000和2005)
microsoft access(97,2000,2002,2003)
mysql(3.0、4.0和5.0)

 

 

sql developer 迁移工作台需要使用1个迁移资料库来存储相应的元数据库。该资料库包含37个表,8个视图,还有相应的主键、索引以及触发器贺PL/SQL代码。虽然不是必须的,但oracle建议为该资料库创建1个单独的数据库模式(用户)。资料库一旦创建完成,就可以对数据迁移进行多次重复操作。

创建并且拥有该资料库的用户必须具有相应的权限,以下代码创建1个资料库,并赋予必须的权限

 

--------------------------------------------------------------------------

create user migration identified by migration

default tablespace users temporary tablespace temp;

 

grant connect,resource,create view,create public synonym to migration with admin option; 

 

grant alter any role,alter any sequence,alter any table,alter tablespace,alter any trigger,
comment any table,create any sequence,create any table,create user,
drop any sequence,drop any table,drop any trigger,drop tablespace,
drop user,drop any role,grant any role,
insert any table,select any table,update any table
to migration;

-----------------------------------------------------------------------------

migration  [maɪ'ɡreʃən] 迁移;移民;移动

synonym ['sɪnənɪm]  同义词;同义字

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值