日期:2014-05-16  浏览次数:20454 次

oracle sql developer 移植数据库
1.添加第三方组件jdts 在更新中选择

2.确认sql 1433端口开 (sql2000 打上sp4补丁)
运行-cmd-netstat/na

3.prepare for the migration
a)create migrate user
--create user
CREATE USER migration IDENTIFIED BY migration
DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp;
--grant
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 ANY TRIGGER, CREATE ROLE, CREATE TABLESPACE,
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不能登录的问题
GRANT CREATE SESSION TO migration WITH ADMIN OPTION;


a)sql developer-migration-repository management-create repository
b)associate migration repository

capture mssql server-convert to oracle
convert model--generate--执行ddl
convert model-move data