Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Migrate data from sql server to oracle using sql developer

3,728 views

Published on

Migrate data from sql server to oracle using sql developer

Published in: Technology
  • Be the first to comment

Migrate data from sql server to oracle using sql developer

  1. 1. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Introduction This document describe Steps how to migrate data from Microsoft Sql server to Oracle Database, the document contains steps and screenshots please notice you need to check sql server Version, in my case I have backup file for Sql server 2008 because of this I will show you how to restore and then migrate, this document can work if you have data already imported in SQL Server. Environment:- Operating System: Windows 2008 R2. Database: - Oracle Database Version 11.2.0.3 Microsoft SQL Server 2008. Software Needed:- 1- Oracle Sql Developer download from here. 2- Microsoft SQL Server (Depend on the version of backup). 3- Oracle Database Download from here.
  2. 2. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE About the Author Osama Mustafa has progressive experience in Oracle Products, community. He recently served as Oracle Database Administrator. Provide Database Implementation Solutions, High Availability Solution, Infrastructure and Storage Planning, Install, Configure, Implement and manage Oracle E-Business Suite environments. Architect, build and support highly-available Oracle EBS, Database and Fusion Middleware environments including appropriate reporting, Installs, configures, upgrades, tunes, and maintains production, development and test databases. He entered Oracle ACE Program in 2013, he is author for the book Oracle Penetration Testing, Osama Mustafa Certified OCP 10g,11g, Linux Implementations , Certified Ethical hacker and LPT , and Solaris Administrator. Include to all this Osama Mustafa is international Speaker in Oracle User Group and Oracle OTN Tour, Published Online Articles in His blog about Oracle Technology, Volunteer in Oracle User Group such as IOUG, ODTUG and UKOUG , Volunteer Board member in RACSIG and Organizer for RACATTACK Event around the world. Recently his article has been published on OTECH magazine about Real Application Cluster Here. Twitter: @OsamaOracle G+: Osama Mustafa SlidShare: Osama Mustafa LinkedIn: http://www.linkedin.com/in/osamamustafa Blog: https://osamamustafa.blogpsot.com.
  3. 3. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE The backup file extension should be “bkp” follow the below steps to restore, The below picture describe interface for SQL SERVER 2008
  4. 4. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE You need to create new database (just to avoid mixing tables). You need to create new database (just to avoid mixing tables).
  5. 5. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Choose restore option and add the backup file location :-
  6. 6. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE
  7. 7. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Add file location like below :-
  8. 8. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE
  9. 9. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE
  10. 10. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Congrats now the data has been restored to SQL Server from backup file but nothing has been migrated to oracle yet ( you can skip all the above steps if you already Imported data on SQL Server).
  11. 11. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Open Oracle SQL Developer I prefer using V4.0.3 Or later :- Create new Connection to SQL Server you can add SQL server to SQL Developer I already post how to do this on my blog.
  12. 12. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Test the connection make sure it’s working fine without any problem, you can see from below the tables and users in SQL Server.
  13. 13. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Check the tables below:-
  14. 14. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Now Before Migrating data to oracle I prefer Create new user on database to avoid any conflict :- Select the tables you want to migrated from SQL Server to Oracle then Right Click  Copy to Oracle Like Below :-
  15. 15. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Create new connection but this time to Oracle, as you see from below ask you where the destination is:-
  16. 16. MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE OSAMA MUSTAFA MIGRATE DATA FROM MICROSOFT SQL SERVER TO ORACLE Press Ok and Wait till the copy Finish. Thank you Osama Mustafa

×