一、预备工作,创建数据源文件
工具->移植->创建数据库捕获脚本...,选择目录 G:\mssqlservermigration\capture
cd G:\mssqlservermigration\capture
mkdir master
mkdir mydb
生成OCP等文件
SS2K8_BCP_SCRIPT.BAT sa 1 mydb localhost
脱机抓取
OMWB_OFFLINE_CAPTURE.BAT sa 1 mydb localhost
二、捕获
简略贴几个图
cd G:\mssqlservermigration\data\数据移动\project mydb\2013-05-07_09-57-22\mydb\dbo
unload_script.bat localhost sa 1
oracle_ctl.bat dbo_mydb dbo_mydb@orcl
参考资料:
[1] Migrating a Microsoft SQL Server Database to Oracle Database 11g. http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/SQLServerMigration/SQLServerMigration.htm
[2] Oracle® SQL Developer User's Guide Release 3.1. http://docs.oracle.com/cd/E25259_01/appdev.31/e24285/migration.htm#CHDHFDFH