locked
Oracle 9i to Sql server 2008 migration RRS feed

  • Question

  • I want to migrate from Oracle 9i to Sql server 2008 using SSMA. Please let me know what steps will I have to follow.

    Our Oracle 9i database contain following objects :

    1. Tables
    2. Views
    3. Indexes
    4. Packages
    5. Procedures
    6. Functions
    7. Triggers
    8. Sequence
    9. Materialized Views
    10. Public Synonym
    11. Database link
    12. Jobs
    13. Directories

    we need to do following changes after using SSMA:

    (1) change code for oracle cursors,built in functions,triggers as syntax is different in sql server

    (2) convert package into storeprocs/functions

    (3)convert sequence into database identity column

    (4) convert Materialized Views into indexed views

    Please give me information about Public Synonym and Directories.How will it convert into Sql server Synonym and Directories.Is it possible?

    and also provide me information if I am missing anything for above mentioned all oracle database objects for conversion


    Nitin Varshneya

    Tuesday, January 8, 2013 7:35 AM

Answers

  • Hi Nitin,

    Please refer to SQL Server Migration Assistant for Oracle: http://msdn.microsoft.com/en-us/library/hh302876(v=sql.105).aspx.

    Migrating Oracle Databases to SQL Server (OracleToSQL): http://msdn.microsoft.com/en-us/library/hh313159.aspx.

    Thanks.


    Maggie Luo
    TechNet Community Support

    • Marked as answer by Maggie Luo Tuesday, January 22, 2013 9:11 AM
    Wednesday, January 9, 2013 7:29 AM

    1. Tables--Converted by SSMA
    2. Views --Converted by SSMA
    3. Indexes --Converted by SSMA
    4. Packages --Converted by SSMA
    5. Procedures--Converted by SSMA
    6. Functions --Converted by SSMA
    7. Triggers --Converted by SSMA
    8. Sequence --Converted by SSMA
    9. Materialized Views--Need to do manually
    10. Public Synonym----Converted by SSMA
    11. Database link--Manully
    12. Jobs--Manually
    13. Directories--May be Created

    we need to do following changes after using SSMA:

    (1) change code for oracle cursors,built in functions,triggers as syntax is different in sql server--Need to convert to SQL Server Syntax

    (2) convert package into storeprocs/functions--same for step1

    (3)convert sequence into database identity column --same for step1

    (4) convert Materialized Views into indexed views--Need to Create Indexed views as there is no Materialized views.


    -- Bhavesh Thakkar

    Sr.Database Administrator
    My Blog
    Linked In Profile

    • Marked as answer by Maggie Luo Tuesday, January 22, 2013 9:11 AM
    Tuesday, January 22, 2013 5:18 AM

All replies

  • you can use Oracle to SQL Server migration assistant

    www.microsoft.com/en-us/download/details.aspx?id=28766


    Ramesh Babu Vavilla MCTS,MSBI

    Tuesday, January 8, 2013 10:57 AM
  • Hi Nitin,

    Please refer to SQL Server Migration Assistant for Oracle: http://msdn.microsoft.com/en-us/library/hh302876(v=sql.105).aspx.

    Migrating Oracle Databases to SQL Server (OracleToSQL): http://msdn.microsoft.com/en-us/library/hh313159.aspx.

    Thanks.


    Maggie Luo
    TechNet Community Support

    • Marked as answer by Maggie Luo Tuesday, January 22, 2013 9:11 AM
    Wednesday, January 9, 2013 7:29 AM

    1. Tables--Converted by SSMA
    2. Views --Converted by SSMA
    3. Indexes --Converted by SSMA
    4. Packages --Converted by SSMA
    5. Procedures--Converted by SSMA
    6. Functions --Converted by SSMA
    7. Triggers --Converted by SSMA
    8. Sequence --Converted by SSMA
    9. Materialized Views--Need to do manually
    10. Public Synonym----Converted by SSMA
    11. Database link--Manully
    12. Jobs--Manually
    13. Directories--May be Created

    we need to do following changes after using SSMA:

    (1) change code for oracle cursors,built in functions,triggers as syntax is different in sql server--Need to convert to SQL Server Syntax

    (2) convert package into storeprocs/functions--same for step1

    (3)convert sequence into database identity column --same for step1

    (4) convert Materialized Views into indexed views--Need to Create Indexed views as there is no Materialized views.


    -- Bhavesh Thakkar

    Sr.Database Administrator
    My Blog
    Linked In Profile

    • Marked as answer by Maggie Luo Tuesday, January 22, 2013 9:11 AM
    Tuesday, January 22, 2013 5:18 AM
  • http://www.oracle-mssql-dba.blogspot.in/p/oracle-10g-database-to-sql-server.html

    -- Bhavesh Thakkar

    Sr.Database Administrator
    My Blog
    Linked In Profile

    Tuesday, January 22, 2013 5:19 AM