Data migration from Oracle to MS SQL using SSIS

Hi friends,
I know this question must have been asked by many who are beginners to SSIS like me about migrating data from oracle database to sql server database but i still would like to raise this query again.
I have table called tbl_employee_oracle in oracle database from where i need to retrive the latest records(eg. latest record of each employee) from the table and populate the result into the sql server database table which is tbl_employee_sqlserver
using ssis.
The logic i thought of doing this is as below;
1. Retrive all employees records from oracle database table.
2. Dump these records into a temporary table(will have same table structure as in oracle database) in sql server.
3. Creating a stored procedure in sql server which will contain logic to select the most recent records from this temporary table.
4. Populate this result set into the final table of sql server.
Please suggest me if working on this logic is worth and any alternate logic to accomplish this task.

There are many opitons, but choose among for your scenario
1. If your employee table is small with less than a few hundreds of record, you want to choose SCD Type 1 if not preserving histoy, incase of preserving history of records choose SCD2,
2. If you have less than few millions of records you can choose look up to direct unmatched records to insert into Sql Server Destination and direct matched records could be updated using OLEDB Destination or Try Merge Left outer Join
transform.
3. If you have several millions of records, you may want to use your above method.
4. Configuring to use CDC could be last option where there are large volumes of updates and inserts every few min to hours. But I'm not sure if this option can be set in Oracle Source.
Please mark this post as answer if it resolves your Problem. You may even mark it as helpful. Thanks

Similar Messages

  • Data MIgration from Oracle to SQL Server 2005

    HI Gurus,
    Kindly please advice me how to migrate Data from oracle to MS SQL Server or Vice Versa.
    I came to know about 2 methods:
    1) Using SQL Developer
    2) USing ODBC.
    KIndly let me know which method is better. I am in confusion about both option
    Kindly advice over the same
    Thanks

    Usually such questions asked and answered on forums of a target system. In this case on MS SQL forums.
    But I will answer.
    You should create a LINKED SERVER in MS SQL that connects to Oracle.
    Then issue couple of SELECT * INTO <TARGET_TABLE> FROM <ORACLE LINKED SERVER>..<SRC SCHEMA>.<SRC TABLE>.
    Install Oracle Client and OLE DB driver on SQL Server machine.
    Also, Oracle is case sensitive by default. MS SQL is case insensitive by default. If there are primary/unique keys that have mixed case values in Oracle, then in MS SQL you need to set case sensitive collation for them.
    PS. If you need not only migrate data one time, but also to have a real time replication during an application transition period, you can take a look on heterogeneous replication solutions like Golden Gates or DataCurrents.

  • Regarding database migration from Oracle to MS SQL

    Hi All,
    In my application, the existing database is oracle. we need to migrate from Oracle db to MS SQL.
    We need procedure is as below
    1.export data from Oracle and keep it in a file.(.dmp)
    2.Import data to MS SQL from the exported oracle file.
    and vice versa from MS SQL to Oracle.
    my question is- is it possible to import .bmp (oracle export data) into MS SQL.
    Please clarify me.

    There are couple of options to get data from Oracle to MS SQL.
    The simplest is to create a linked server in MS SQL that points to Oracle and copy data with a query like select * into my_mssqlTable from oracle.schema.table; via the linked server.
    Some data types will not be supported.
    That is for one time copy.
    If you need a close to real time replication you can use MS replication (I would not recommend because it creates triggers on Oracle tables), or you can use GoldenGate or DataCurrents or other replication products.

  • Data Import from Oracle Dump to SQL Server(2000/2005)

    Hi Friends,
    I'm using Oracle 10g.
    I've a scenario.
    I've Oracle Dump file. Now i would like import in SQL Server(2000/2005).
    Can any one suggest me how to do this?
    Any idea,clue will be highly appreciated.

    I think you will need to import the data into SQL Server from an ASCII flat file using SQL Server DTS if avialable. You can use SQL Plus to extract the data outof Oracle into comma delimited flat files and then use SQL Server DTS load into the SQL Server database.

  • Need to load large data set from Oracle table onto desktop using ODBC

    I don't have TOAD nor any other tool for querying the database.  I'm wondering how I can load a large data set from an Oracle table onto my desktop using Excel or Access or some other tool using ODBC or not using ODBC if that's possible.  I need results to be in a .csv file or something similar. Speed is what is important here.  I'm looking to load more than 1 million but less than 10 million records at once.   Thanks.

    hillelhalevi wrote:
    I don't have TOAD nor any other tool for querying the database.  I'm wondering how I can load a large data set from an Oracle table onto my desktop using Excel or Access or some other tool using ODBC or not using ODBC if that's possible.  I need results to be in a .csv file or something similar. Speed is what is important here.  I'm looking to load more than 1 million but less than 10 million records at once.   Thanks.
    Use Oracle's free Sql Developer
    http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
    You can just issue a query like this
    SELECT /*csv*/ * FROM SCOTT.EMP
    Then just save the results to a file
    See this article by Jeff Smith for other options
    http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/

  • Data migration from oracle 8i to 10g

    hi
    i want to move data from oracle 8i to 10g. I just want to move data, and nothing else. Tables with the same names and fields are already in 10g. every thing is already there in 10g except data.
    tell me some hints and solutions so that i can use imp and exp to move the data from 8i to 10g without any data loss and in a secure way.
    thanks

    there is another point that oracle 10g also contain some data. and tables and field names are same in 10g as in 8i. if i use "imp full=y" then is there any chance of data loss that is already in 10g? and are there any chances that data file are overwritten? tell me the risks and solutions.

  • URGENT - Data Migration - From Oracle BPEL 10.1.2.0 to current version

    Anyone having any idea on the data migration appraoach to be followed from Oracle BPEL 10.1.2.0 to 10.1.3.3
    If it supported?
    I understand process migration is possible (I found it out in installation guide for 10.1.3.1) but there are no documents available for data migration approach (Or I am not able to get hold of any).
    Regards
    Ashutosh

    To workaround the problem, from the DataModel project, right-clicked Project Properties, selected Business Components: Options, unchecked Validate Objects during Compile, and the project compiled successfuly, yet the issue is to have my xml files valid.

  • Data transfer from Oracle table to Sql Server

    Hi Friends,
    How can we transfer the data of one table from Oracle to Sql Server and keep refresh it everyday monrning 10 a.m?

    Also see:
    http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76960/hs_genco.htm#173
    And from Tom Kyte:
    ...you could put the MS SQL server jdbc driver into the oracle database. then a
    java stored procedure can open a connection to MS. This connection would not
    have 2 phase commit abilities, distributed query or anything but would let you
    query data from there and update it as well.

  • OBIEE 11g, Informatica and DAC: Migrating from Oracle DB to SQL Server?

    Hi Gurus,
    Currently we are implementing OBIEE 11g with Oracle BI Application for EBS (Supply Chain, Procurement & Finance modules). We have incorporated all OUT-OF-THE-BOX mappings and configurations in DAC, Informatica and RPD (no change, only OOTB). We were using Oracle DB and Linux servers.
    Now the client wants to migrate this to one Windows box.
    Can anyone point out, what are the changes need to done to migrate to SQL Server database. Any existing documentation or link will be helpful.
    Edited by: Sudipta Gupta on Aug 2, 2012 1:59 PM

    If you are using SQL Server 2008 then you need to edit the DAC config.bat file replace sqljdbc.jar with sqljdbc4.jar.
    Rest of DAC and Informatica configuration is almost similar.
    Let us if you come across any issues.
    Hope this helps

  • What is the easiest way to export all tables data from Oracle to MS SQL Server?

    Hello MS,
    I would like to export all tables from Oracle 11.2 to MS SQL Server 2012 R1.
    Using the tool "Microsoft SQL Server Migration Assistant v6.0 for Oracle" did not work for me because there are too many warnings and errors regarding the schema creation (MS cannot know it because they are not the schema designer). My idea is
    to leave/skip the schema creation to the application designer/supplier and instead concentrate on the Oracle data export and MS SQL data import.
    What is the easiest way to export all tables data from Oracle to MS SQL Server quickly?
    Is it:
    - the „MS SQL Import and Export Data“ Tool
    - the “MS SQL Integration Services” Tool
    - not Oracle dump *.dmp format because it is a propritery binary format
    - flat file *.csv (delimited format)
    Thanks!

    Hi lingodingo,
    If you want to directly export all tables from Oracle database to SQL Server, I suggest you use SQL Server Import and Export Wizard. Because you just need to follow the wizard with GUI, this is the easiest way.
    If you want to make some modification for the tables‘ data before loading to SQL Server, I suggest you use SQL Server Integration Services package. For more details, please refer to the following similar thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/38b2bed2-9d4e-48d4-a33f-1d9eed1c062d/flat-file-to-sql-server?forum=sqldatamining
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2G

    Dear ALL<
    We have a requirement for Date Migration from IBM DB2/400 V4R3M0 to Oracle 11.2g. Can you guys please share your experiences with similar activities done in the past ? We do not have environment at present to try out with Oracle Migration workbench.
    http://www.oracle.com/technetwork/topics/index-095746.html
    You experiece sharing will really help ...!!
    Regards,
    VKMP
    Edited by: 909016 on Jan 31, 2013 5:52 AM

    Hi VKMP,
    As well as reading the documentation thoroughly the following note available in My Oracle Support may be useful -
    Problem To Migrate Table With Table Type P From DB/AS400 With OMWB (Doc ID 466271.1)
    as OMWB does not support migrating physical files.
    Regards,
    Mike

  • SOS!!!!----Error for Loading data from Oracle 11g to Essbase using ODI

    Hi all.
    I want to load data from oracle database to essbase using ODI.
    I configure successfully the physical and logical Hyperion essbase on Topology Manager, and got the ESSBASE structure of BASIC app DEMO.
    The problem is.
    1. When I try view data right click on the essbase table,
    va.sql.SQLException: Driver must be specified
         at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.frame.b.jc.bE(jc.java)
         at com.sunopsis.graphical.frame.bo.bA(bo.java)
         at com.sunopsis.graphical.frame.b.ja.dl(ja.java)
         at com.sunopsis.graphical.frame.b.ja.<init>(ja.java)
         at com.sunopsis.graphical.frame.b.jc.<init>(jc.java)
    I got answer from Oracle Supporter It's ok, just omit it. Then the second problem appear.
    2. I create an interface between oracle database and essbase, click the option "staging area deffirent from target"(meaning the staging is created at oracle database), and using IKM SQL to Hyperion Essbase(metadata), execute this interface
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 61, in ?
    com.hyperion.odi.essbase.ODIEssbaseException: Invalid value specified [RULES_FILE] for Load option [null]
         at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions(Unknown Source)
         at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
         at org.python.core.PyMethod.__call__(PyMethod.java)
         at org.python.core.PyObject.__call__(PyObject.java)
         at org.python.core.PyInstance.invoke(PyInstance.java)
         at org.python.pycode._pyx1.f$0(<string>:61)
         at org.python.pycode._pyx1.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java)
         at org.python.core.PyCode.call(PyCode.java)
         at org.python.core.Py.runCode(Py.java)
         at org.python.core.Py.exec(Py.java)
    I'm very confused by it. Anybody give me a solution or related docs.
    Ethan.

    Hi ethan.....
    U always need a driver to be present inside ur <ODI installation directory>\drivers folder.....for both the target and the source......Because ojdbc14.jar is the driver for oracle already present inside the drivers folder ....we don't have to do anything for it.....But for Essbase ...you need a driver......If u haven't already done this.....try this.....
    Hope it helps...
    Regards
    Susane

  • Convert Data type from Oracle Data time string to SQL Date time data type

    I have a time stamp column pulled from oracle into a SQL server db table varchar datatype column.
    Now i want to change that column to date time.
    Following is the data present in the table:
    01-APR-11 02.15.00.026000 AM -08:00
    01-APR-11 04.15.00.399000 AM -08:00
    01-APR-11 06.15.00.039000 AM -08:00
    I want to convert this data into sql server datetime data type.
    Please advice.
    Thanks,
    Sam.
    I am unable to find the solution in other sites which is why I have posted it in Oracle forum for seeking solution.
    Thanks in Advance.
    Sam.

    Sam,
    How are you actually loading the data into SQL*Server - are you using something like an Oracle gateway, BCP or another Microsoft utility of some sort ?
    If you are using an Oracle problem then we may be able to help but if using a Microsoft utility then you should really follow up with Microsoft to know what format the data should be in to use a Microsoft utility.
    Regards,
    Mike

  • Data Migration from MS   Excel Sheet to Oracle 9i Database

    Can anyone please help me to perform a data migration from MS excel sheet to Oracle 9i Database. I have an excel sheet from which i need to move data to the database. One of the columns in the sheet posseses multiple new line characters, and which causes a problem while migrating data with the help of SQL Loader. I would like to know whether any utility is available to migrate data directly from MS Excel sheet to the database, or it would he really helpfull for me , if anyone provide me with an alternate solution.

    I think Christian's suggestion will work for easily and quickly.
    1) create table link of Oracle target table in MS Office's ACCESS thru ODBC;
    2) from Access screen, you may easily dump the excel data into the linked table.
    This is very easy and feasible ways. Don't bother to find other ways. The other ways will need you to clear the unwanted carriage return signs first.

  • How can we do the data migration between Oracle Applications and SAP R/3.

    Hi All,
    How can we do the data migration between Oracle Applications and SAP R/3 system.What are all the possible ways to move bulk data from Oracle Apps to SAP r/3 system.
    Provide any 3rd party tools which supports data migration and also pls rpovide the SAP's own data migration tools with supports the above feature.
    Awaiting for best possible solution.
    Thanks in advance.
    Regards
    Dharmaraju

    the 3rd party tool is ETL , you can use ETL tool and the prepare the load files then you can use LSMW method to upload the data to SAP.

Maybe you are looking for

  • Miss data label when desktopintelligence report saved as excel

    BO version is XIR2 Sp2. create a column chart with 2 measures in deski. show data labels for these 2 columns, it is ok in deski. but when save the report as excel format, found data label only shown on first column, and miss the label for another col

  • Can I specify the member dynamically

    Hi everyone,   I have a question: if I have a structure   STR_A ,   and it has four members M1,M2,M3,M4. I will assign values to V1 at run time.can I use a variable like this STR_A-V1 to stand for certain member which only can be known at run time?

  • Solaris 10, audit -n removing old logfiles.

    I have a bit of a strange problem. We are running Solaris 10 on a number of systems. Auditing is enabled on all systems and we use audit -n to rotate the log files on the hour. On one system this works fine and each time we do a audit -n it renames t

  • Maximizing display real estate...

    Greetings, Can someone tell me how to maximize my display so that I am able to hide the bar at the top of the screen as well as the bars at the top of the application, such as Safari? I am losing over an inch of valuable display real estate at that t

  • How to install two monitors--

    -HP pavilion h8xt, two acer monitors (w. both vga and dvi  and also an add'l dvi   plug on the graphics card. Monitors came with a double ended dvi cord. Can I plug one monitor into the dvi of the graphic card and the other monitor  into the other dv