Migration from SQL Server 2005 to Oracle 10g

Dear buddies,
I need to migrate my tables with data from SQL Server 2005 to Oracle 10g. How can I do it in the best possible way?
Please guide me.
Nith

Nith,
I doubt if there is one best practice that can cover all cases of migrating data from sql server to Oracle. l generally find various factors case-by-case that make me chose one approach over the other. Without considering the business case and environment specific factors, some of the things I would like to know would be: The data types of the tables columns, table sizes, number of tables and if this is a one time process or a recurring process.
One of the easiest (some times rather pesky) process would be:
-Dump source data (Sql Server data) into flat files, csv or any preferred format
-Setup a set of staging set of tables in the destination DB (Oracle in your case). You can setup the stage tables to enforce data-types, value sets and even some level of integrity constraints or any data logic or what ever you would like to filter out. Load the flat file data into a set of Oracle stage tables (Sql*Loader would be a good candidate)
-You can always move data from these stage tables to you application tables
You can script this whole process to run as batch or on demand or how ever you would like.
I am sure you can google and find a bunch of proprietary as well as open source tools to do the same with little to a lot of work.
good luck!

Similar Messages

  • Migration from of database and app from SQL server 2005 to Oracle 10g

    Hello Every body,
    Lately, I have been requested to migrate one inhouse developed hub application from SQL server 2005 to Oracle 10g. The objective is to move application and also the database to Oracel 10g.
    Here is the current platform:
    OS Win 2008 64 bit
    JDK 1.4.2
    JBoss 3.2.5
    EJB 2.1
    My question is what kind of issues you guys see in above upgrade. As far I know, Schema and Database migration can be done by Oracle workbench. Oracle 10g supports JDK 1.4. Oracle 10g also supports EJB 2.1.
    Anything, I need to take into consideration or any risks or problems. I would like to list down all the risks, and accordingly, I am thinking of start the upgrade.
    Thanks in advance.
    Regards,
    Zeeshan Qureshi

    In general the Java/J2EE application needs work in the following categories:
    1. Connection Settings: Use Oracle JDBC drivers, create new data sources, connection pools and what not. Disable AUTOCOMMIT for Oracle JDBC Connections.
    2. For EJBs, you should regenerate the entity beans because some object names/column names might have changed in oracle.
    3. Any custom SQL that is in use in the EJBs will have to be ported to Oracle just as you would do in stored procedures and other applications.
    4. For Java front-ends, if you are using callouts to stored procedures and expecting result sets then they will require some changes. You need to modify the stored procedure call signature to include the REF CURSOR variables and process them.
    5. Changes to any SQL Server specific database functions manipulating character/date data will be required.
    6. CLOB/BLOB/XML apis are different across databases so if you are using those then focus on them as well.
    7. Retreiving Auto/generated keys from database also may need changes from what I have seen.
    Hope this helps..
    Regards
    Prakash
    NOTE: Not sure why but my posts from yesterday are not visible today. Even worse is that I can see them in one browser (FireFox) but not in Internet explorer. Crazy browser day I am having.

  • Migration from SQL SERVER 2008 to Oracle 10g issues.

    Hi ,
    I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
    First, I was following a tutorial
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
    My first question is how can I either add this option or is there a new way to load the capture script ?
    Then I use the migration wizard and after following everything, I had the migration complete message from the application.
    When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
    do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
    What do I do in this case ?
    Thanks !

    Thank you for your reply.
    After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
    Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
    Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
    Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
    Edited by: 873671 on Jul 20, 2011 7:03 AM
    Edited by: 873671 on Jul 20, 2011 7:19 AM

  • Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)

    If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
    is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
    Regards

    When you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
    Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
    You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database.

  • Siebel database migration from Sql Server 2005 to Oracle 11g RAC.

    Hi,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
    The current configurations are:
    Application : Siebel
    database : SQL Server 2005
    The hardware can be changed if needed. Can you please suggest the best approach ?
    Thanks,
    Naveen.
    Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
    Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PM

    Hi Naveen,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
    You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
    The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
    Check this Step-by-Step
    Migrating a Microsoft SQL Server Database to Oracle Database 11g
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    Regards,
    Levi Pereira

  • Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem

    Hi all,
    we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
    we are using Oracle SQL Developer V 1.5.3,
    the capturing of the DB and the conversion to the oracle model completed succefully
    however when we try to generate the scripts from the converted model
    the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
    no error messages are displayed,
    how can we know the reason for this? or atleast find a log for whats happening...
    any suggestions?
    Thank you

    Hi,
    migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
    create table test_seq (col1 int identity(1,1),col2 char(1))
    Then I captured the table, converted the table and generated the script. There was no problem.
    CREATE SEQUENCE succeeded.
    CREATE TABLE succeeded.
    Connected
    TRIGGER test_seq_col1_TRG Compiled.
    As you see, applying the script was also successful.
    I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
    Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
    Regards,
    Wolfgang
    Edited by: wkobargs on Jan 13, 2009 3:01 AM

  • Migrating from SQL Server 2000 to Oracle 10g

    Hello,
    I am a newbie to Oracle 10g and haven't really worked with Oracle since 8i. I have been tasked to migrate all of our databases and tables to Oracle 10g. I need a little help getting started or pointed in the right direction on how to copy all that data from SQL Server to Oracle 10g. I know that Oracle has an Import/Export Utility, but don't know if it can do what I need. Can some one help point me in the direction I need?
    Thanks, Marion

    Ayub
    You need to download both the Oracle Migration Workbench core tool and the SQL Server 2000 plugin (SQLserver2k.jar). You copy the plugin into the plugin directory, after you unzip the Oracle Migration workbench main.
    The tool comes with release notes and a user guide, that explains the necessary setup and migration process.
    Donal

  • Problem: Database Migraton from Sql Server 2005 to Oracle 10g

    Hi all
    i am trying to migrate sql server 2005 Database to Oracle 10g, Using Oracle Sql developer 3.0.04
    Whole Daabase including Schemas,user-passwordTables,Views,Indexes,Functions,Procedures etc. migrated sucesfuly
    But All Procedures are not correctly migrated
    many of procedures showing errors...
    how to migrate procedures correctly?
    SO.....
    How To Resolve thios issue?
    please help me out
    thanks
    Edited by: user10226917 on Jun 8, 2011 1:42 AM

    Hi,
    I have tested using the following -
    SQL*Developer Version 3.0.04 Build MAIN-04.34
    and did the following -
    Tools - Migration - Translation Scratch Editor
    - made sure I was using the 'Microsoft SQL Server T-SQL to PL/SQL ' option in the 'Translateor' tab.
    Then in the worksheet put in your entry -
    PRINT '@HID=' + CAST(@HID AS VARCHAR(100))
    This is then translated to the following -
    BEGIN
    DBMS_OUTPUT.PUT_LINE('@HID=' || CAST(v_HID AS VARCHAR2(100)));
    END;
    Is this what you did and the entry you typed into the scratch pad ?
    If not, can you give the full code that gave the error -
    DBMS_OUTPUT.PUT_LINE('@HierID=' || CAST(v_HierID AS VARCHAR2(100)));
    DBMS_OUTPUT.PUT_LINE('@NodeType=' || CAST(v_NodeType AS VARCHAR2(100)));
    DBMS_OUTPUT.PUT_LINE('@NodeTypeReqd=' || CAST(v_NodeTypeReqd AS VARCHAR2(100)));
    Error(36,64): PLS-00103: Encountered the symbol "(" when expecting one of the following: . ) @ % The symbol ")" was substituted for "(" to continue. gives error in compiling error
    Regards,
    Mike

  • MIGRATE ODI FROM SQL SERVER 2005 TO ORACLE

    Hello,
    Presently we have our master and work repositories in sql server 2005.We also have our source tables in sql server 2005.We are planning to migrate our repositories from sql server 2005 to oracle 10g.We are also migrating our source tables from sql server 2005 to oracle.Do we need to redo all our development in oracle.Can any body help with the steps to migrate our repositories and development work from sql server 2005 to oracle 10 g.
    Thanks,
    Revanth

    dbf it's not sql server.
    >
    SQL Server databases have three types of files:
    Primary data files
    The primary data file is the starting point of the database and points to the other files in the database. Every database has one primary data file. The recommended file name extension for primary data files is .mdf.
    Secondary data files
    Secondary data files make up all the data files, other than the primary data file. Some databases may not have any secondary data files, while others have several secondary data files. The recommended file name extension for secondary data files is .ndf.
    Log files
    Log files hold all the log information that is used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is .ldf.
    >
    for dbf to oracle see http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:711825134415

  • Migration from sql server 2005 tables to oracle tables.

    Hi,
    Kindly give the steps to migrate from sql server 2005 tables to oracle tables.
    Kindly advise
    Oracle database version:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE 10.2.0.1.0 Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Edited by: 873127 on Jul 18, 2011 9:46 PM

    Are you migrating or taking continual updates?
    If migrating it might be worth considering The SQLDeveloper Migration Workbench (which moves more than just data)..
    http://www.oracle.com/technetwork/database/migration/sqldevmigrationworkbench-132899.pdf
    Cheers
    David

  • Automating Data Migration from SQL Server 2005

    Hi All,
    I need to migrate data from SQL Server 2005 to Oracle DB ( Datawarehouse). The data migration involves updating Dimensions and Fact table. I have got painful job of switching topology to point to over 100 different weekly SQL DBs ( in sequence) and pull the data into DW. How can I automate my ODI process to switch from one after the other.
    Any Ideas?
    KS

    ODI Variables are there to help you with this. Please go through this post at [http://blogs.oracle.com/dataintegration/2009/05/using_odi_variables_in_topolog.html] .
    This will show you how to use a variable Oracle data server.
    On similar lines you should be able to switch to any of your 100 weekly SQL server DBs.
    And loop in a sequence to load data from all of them.
    Hope that helps

  • Migration from SQL Server 7 to oracle 8.1.7 on windows 2000 professional

    Hello All,
    I am currently working on Database migration from sql server 7 to oracle 8.1.7.
    My setup is as follows:
    1. Both the databases (sql server and oracle are on the same machine )
    2. My sql server database contains 200 tables and 190 stored procedures, which need to be migrated to oracle.
    When i am trying to capture the Source database details, its capturing evry thing but when its mapping at the end ...it says "MAPPING ROLE PUBLIC" and its not proceeding furthur..What do u want me to do ? i waited for approx 1 hr , still its not proceeding....How to resolve this bug ?
    Also please suggest me the best methodology for Migrating the stored procedures. allmost all my stored procedures have TEMP Tables implemented in it. Please help me in this...
    Also please let me know the Timeframe estimate for this total thing to be done..
    Waiting for your reply,
    Thanks and Regards
    SAI SREENIVAS JEEDIGUNTA

    You can user Oracle Migration Workbench to migrate from SQL Server to Oracle.
    Here is the link which gives info on software usage and download :
    http://otn.oracle.com/tech/migration/workbench/content.html
    Chandar

  • Data length problem migrating from sql server 7 to oracle 8i

    I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Steps SSIS and SSAS Migration from sql server 2005 to 2012?

    steps SSIS,SSRS and SSAS Migration from sql server 2005 to 2012? any precautions to take while migration.
    any documentation or any specified steps.

    Hi Vijay,
    According to your description, you want to migrate SQL Server Integration Services and SQL Server Analysis Services from SQL Server 2005 to SQL Server 2012.
    For how to migrate SQL Server Integration Services, please refer to the article:
    http://www.bidn.com/blogs/DevinKnight/ssis/2718/upgrading-packages-to-ssis-2012.
    In addition, since the issue regards SQL Server Integration Services. I suggest you post the question in the SQL Server Integration Services forums at
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices.
    For how to migrate SQL Server Analysis Services, please refer to this article:
    http://www.codeproject.com/Articles/435703/Migration-from-SQL-server-to.
    In addition, since the issue regards SQL Server Analysis Services. I suggest you post the question in the SQL Server Analysis Services forums at
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlanalysisservices. It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat

    I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
    I have configure Golden Gate step by step by following oracle guideline:
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    When i run following command on target (oracle 10g):
    replicat paramfile dirprm/inload.prm
    I encounterd following error:
    2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
    r could be misspelled or unsupported.
    2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
    My INLOAD FILE Content are:
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE D:\oracle\gg\dirdat\ex
    SOURCEDEFS D:\oracle\gg\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Can you plz suggest me that where i am wrong?
    Thanks advance to all experts.

    amardeep.sidhu wrote:
    That should work, just in case try adding DBLOGIN before USERID
    DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P

Maybe you are looking for

  • Unable to install Oracle Developer Suite 10 on SuSe Linux 11.0

    Hi all, I have installed Oracle 11g on SuSe Linux 11.0 with no issues. I am unable to install Oracle Developer Suite10.12.02 on same (SuSe 11.0). The installation gets to about 94% and then fails with the following error: /usr/lib/libXtst.so.6: undef

  • Aged Creditor Report - Due & No Due

    Hi Experts, I have an issue with Aged Creditor report. my user wants the report as below - In the report he wants two more rows need to be added, the rows are "Due" & "No due" and these two rows need to be based on the Net due date. Due-->amounts whi

  • BW Job Taking more time than normal execution time

    Hi, Customer is trying to extract data from R/3 with BW OCPA Extractor. Selections within Infopackage under tab Data Selection are 0FISCPER = 010.2000 ZVKORG = DE Then it is scheduled (Info Package), after this monitor button is selected for the sche

  • Native "3D Cinematic" titles can't be resized or moved

    Native "3D Cinematic" titles can't be resized or moved. Actually it CAN be moved thru effects inspector in "Video" section, but video in the background moves along and I didn't found a workaround. Or using "Baseline": but again - lines in "Graphical"

  • Lookup Data ( Readonly Entity Bean)

    My application has a requirement for multiple lookup data ( asset types , broker types ) with code and description. The lookup data is fairly static and only updated through an external source.Can I use a read only BMP Entity EJB. The primary key wil