data replication with ODI between SQL SERVER and ORACLE

Hello world
First of all, I want to migrate database SQL SERVER and ORACLE DB tables.
And then make online (synchronous) replication from SQL SERVER to ORACLE using ODI.

I have not used before ODI.
How to use the ODI for this?

1. create a master repository and connect to the "topology Manager.
2. in the topology Manager, you must configure the following
2.1 create a data server for the Oracle under Oracle database in the physical connection
2.2. create a database for the SQL Server database server in SQL Server in the physical connection. To do this, the jdbc for sql server driver.
2.3 implement the logical connection and frame
2.4 create a workrepository in the topology manager repositories tab
3. connect to the designer and follow these steps
3.1 create a template for the SQL Server source and reverse (import) the datastores (tables) to the model.
3.2 the value of the model for the target of the Oracle
3.3 create a (mapping) interface, under the table in schema define the source and then add it to the target and bind
3.3 on the flow tab, you must set the Modules (KMs) of knowledge to perform the load. You must have imported the KMs before creating the interface.
3.4 in IKM put 'create table traget' to 'yes '.
4 run the interface to load data from SQL to Oracle Server

Thank you
Fati

Tags: Business Intelligence

Similar Questions

  • Replication of data between SQL Server and using Oracle11g materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target. I need fill out the target daily with change of the source data.
    to do this, we created a dblink between SQL Server and oracle and reproduced this table as a point of view, materialized in Oracle.
    problem that we get here is fast refresh option is not available.each day it will pick up all of the data source.
    is it possible to use Fast refresh in this scenario?

    Thanks in advance.

    Kind regards
    Balaram.

    You can try MS SQL replication.
    Configure transactional Standard of MS SQL and Oracle Publication subscriber http://msdn.microsoft.com/en-us/library/ms151738%28v=sql.90%29.aspx

  • Interlink with Sql server and Oracle

    Hello

    We have some data in SQL Server.
    We need to link SQL Server and Oracle Database. To make reports in Oracle Apex.

    Please someone guide me to interconnect with Oracle database

    Kind regards
    Thérèse

    Therese,
    You can find more information on gateways in this available in My Oracle Support note-

    Note to master for the Oracle Gateway (Doc ID 1083703.1) products

    Kind regards
    Mike

  • Different output for the same query in SQL Server and Oracle

    I have two tables table1 and table2

    -table1 has two columns c1 int and varchar c2. There are no constraints added in it. It contains data as shown below

    C1 c2
    -------------------
    d 6
    5 d
    102 g
    6%
    f 103
    5.
    501 j
    1 g
    601 n
    2 m

    -table2 has only a single column c1 int. There is no added in constraints. It contains data as shown below

    C1
    ----
    6
    1
    4
    3
    2

    now when I run below, given the query in sql server and oracle it gives me different results

    Select *.
    FROM table1
    table2 on table2.c1 = table1.c1 inner join (SELECT ROW_NUMBER() (any ORDER by ASC c1) AS c1 from table2)

    output of SQL server
    ------------------------
    C1 c2 c1
    --------------------------------
    1 g 1
    2 m 2
    3 h 3
    4 g 4
    5 d 5


    release of Oracle
    ----------------------
    C1 C2 C1
    ---------------------------------
    5 d 5
    4 g 4
    3 h 3
    1 g 1
    2 m 2


    If you notice the first column in the two outputs. It is sorted in sql server and no oracle.

    Why he behaves differently in oracle? Is there a way I can fix this problem in oracle?

    Thank you
    Jigs

    It is NOT a behavior "differently" in Oracle; you did not specify just an order that you expect of your results, so you'll get output in what order the fantasies of the database showing (ie. no guaranteed order). It is an artifact of the way the database chooses to collect the data and databases (or same sets of data within the same database) can and will most likely behave differently.

    Same SQL Server will not be guaranteed to always get your data in an orderly manner if you exclude the order by clause, even if you think that there always display the data in an orderly manner.

    Your solution is to add an order by clause, in the TWO databases, to force the order of the data output.

  • connection between sql server and java

    someone please tell me how to connect to sql server with java

    Welcome to the forums.

    The forums are a research tool very useful - by using the search box you will see near the top right.  You will find that most of the questions that ask you, which, have already been asked on the forum, so it pays to research frist - that way you get a faster response and you can find other interesting things.

    In this case, I did a quick search using SQL Server and found these threads that will probably help:

    http://supportforums.BlackBerry.com/T5/Java-development/database-connectivity-SQL-Server-2008/m-p/60...

    http://supportforums.BlackBerry.com/T5/Java-development/SQL-Server-connection-in-BB/m-p/416391#M8239...

  • Planning for SQL server and Oracle db

    Hi friends

    We intend to improve our environment Hyperion of 9.3.3 to 11.1.2.2. and we will go from SQL server as our RDBMS Oracle.

    If we change DBMS, do we have to rebuild the total application or is there an easy way to migrate from sql server to Oracle

    Please suggest

    Thank you

    Upgrade the application to 11.1.2.2 while remaining on the SQL Server, then use LCM to export the application, remove the application, update the data source to point to Oracle, use LCM to import.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • How only migrate data between SQL Server 2008 Oracle 11?

    According to our requirement, we only have to migrate data from a SQL Server database to an existence
    Oracle database user.
    (1) I tried to do with the wizard of Migration SQL Developer 3.0.04, but find a problem.
    My SQL Server database name is SCDS41P2 and my Oracle database user name is CDS41P2;
    When I used SQL Developer move offline data by the Migration Wizard, I found all the oracle user
    name in movedata files who obtained by running the Migration Wizard
    is dbo_SCDS41P2. If the Oracle user name is not the same as my Oracle username existed.
    the data cannot be moved to my user Oracle existed when I run oracle_ctl.bat in the command line window.
    So I had to change the Oracle username in all the movedata files, but it is difficult to change because there are a lot of tables in
    databases. So could you please tell me how to get the movedata files which is the name of user oracle in them my
    WHEREAS Oracle user name?

    (2) I also tried to use the "copy to Oracle" to copy the data to SQL Server database tables
    the user database was Oracle. When you click on 'copy to Oracle', I selected the option 'Include data' and 'replace '.
    But I found some tables cannot be copied, the error info is as below:
    SPSSCMOR_CONTROLTABLE table failed. Message: ORA-00955: name is already used by an existing object

    Could you please tell me how to deal with this kind of mistake?

    Thank you!

    Published by: 870587 on July 6, 2011 02:57

    Hello
    After following with development the following should work too-

    1 use the migration option to capture and convert the SQL * database server
    2. go in SQL * Developer and remove the converted model.
    3. click on the captured model and choose 'convert '.
    4. click Next and you should get a screen with 2 options - "Data Type Mapping" and "Object Naming.
    5. choose "Object Naming" and scroll down the list until you see the name of the user who will be transformed. For example, in my test, I got the names scott_test and dbo_test - where the owners are 'scott' and 'dba' and 'test' was the name of the database.
    6. change the name of oner_database to just owner - scott_test to scott
    7 complete the conversion process and the owners must be created without the name of the database.
    8. you should now be able to generate the SQL * scripts of charger with only the name of the owner in the CTL files.

    Please try this and let us know if it works for you.

    Kind regards
    Mike

  • Hyperion at level 11.1.1.3 to Hyperion 11.1.2.3 with change of database SQL server and Oracle DB

    I am upgrading the Hyperion 11.1.1.3 environment in new infrastructure which include (HFM, Shared service, FDM and Hyperion reporting). The 11.1.1.3 had SQL Server repository, now we are making everything on the Oracle database repository. Can I directly use the LCM to migrate all of the artifacts of 11.1.1.3 11.1.2.3. Can someone advise how best to do the migration. Y at - it something I should look. Something that fail often I should look.

    There are a number of ways to achieve what you're trying to do and it may depend on the number of products/applications and the complexity of the environment.

    There are also ways to migrate to a SQL database to Oracle with different success rates depending on what is involved.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Migration DB in SQL Server and Oracle DB - probably EASY answer

    I finished the tutorial on the DB in SQL Server migration to Oracle. When I try on my own database, all migrated well except something that contains a datetime value. When I run the oracle_ctl.bat file and display all of the log files, I see Record 1: rejected - error on the DBO_RIVERSIDEDB_NCWCD_TEST table. TS6HOUR_TAIN, Date_Time column.
    ORA-01843: invalid month. What I have to change the first line of all files NLS_DATE_FORMAT = my JJ YYYY HH:mi:ssAM? In the .dat file that is created from the unload_script.bat, the data start 1275 < EOFD > 00:00:00.000 2007-05-11 < EOFD > 74.900000000000006 < EOFD > < EOFD > < EORD > < EOFD > 1275. So my question is on the date_format - which is the same for all the databases SQL Server or I need to get something on MY database? I'm definitely a beginner so this is probably a super easy question. Thanks much for any help!

    Hello

    You don't need to modify your file of any control of batch file and it will be referrring to format in the oracle database. If you can post your Date_Time channel or follow the example I posted earlier, then it will help you better.

    Concerning

  • ODI: Mapping SQL Server datetime field to Date ORACLE


    Hello

    I tried map a datetime (SQL Server) field to a Date field in my intermediate Oracle DB table.

    The format of the source (SQL Server) is 2014-08-12 15:04:48.927 and in mapping for the intermediate table, I use the function TO_TIMESTAMP (sql_field_name, 'YYYY-MM-DD HH24:MI:SS.ff')

    When executing the interface, it fails with the error: ORA-01843: not one month valid

    Is there an error in the conversion?

    Any help will be appreciated.

    Thank you.

    Hello

    Thanks for your help.

    @Mahak VARCHAR2 conversion also did not work, kept getting is not not a month error invalid. In my view, that move data between SQL Server and Oracle there are some questions in the format and precision.

    I have now resolved the issue. It worked by using the CONVERT (DATETIME, field_name) SQL Server function in the map and put it to run on the Source (a MS SQL Server DB) instead of the target (which is an Oracle DB).

  • Problem with the migration of key primary and foreign from SQL Server to Oracle

    Hi people, I use SQL Developer to migrate Oracle to a SQL database, and I'm stuck with a few questions:

    So far, the worst of them is the fact that I can not migrate the PKs and FKs. After having successfully captured the model DB in SQL Server and Oracle conversion, when the tool generates scripts, all ALTER TABLE queries that add pharmacokinetics and the FKs have their columns duplicate targets.

    for example: when I'm trying to migrate a simple table that contains an Id (PK) and the columns name, the tool generates the following scripts:


    PROMPT create Table TestTable...
    CREATE TABLE TestTable)
    ID NUMBER (10,0) NOT NULL,
    Name VARCHAR2 NOT NULL
    );

    The PROMPT create constraint primary key on the table TestTable PK_TestTable...
    ALTER TABLE TestTable
    ADD CONSTRAINT PK_TestTable PRIMARY KEY
    (
    ID,
    ID
    )
    ENABLE


    Regarding the FKs, the tool duplicates the columns thus:

    ALTER TABLE SomeTable
    ADD CONSTRAINT FK_SomeTable_SomeTable2 FOREIGN KEY
    (
    SomeTable2Id,
    SomeTable2Id
    )
    REFERENCES SomeTable2
    (
    ID,
    ID
    )
    ENABLE
    ;

    Does anyone have an idea on how to solve these problems? I would be very grateful for answers!

    Hi Fernando,

    I was unable to reproduce this problem. My primary / foreign keys when defined using unique columns.

    The PROMPT create constraint primary key on the suppliers table PK_Suppliers...
    ALTER TABLE suppliers
    ADD CONSTRAINT PK_Suppliers PRIMARY KEY
    (
    Vendor No.
    )
    ENABLE
    ;

    I tried a few things like
    capturing twice and rename the two models of the same
    Rename the converted templates
    but without success.
    I think that this problem occurs is in the capture phase or convert.

    (1) you perform the capture online or offline?
    (2) can provide you a DDL together for one of these tables and the indexes to see if I can reproduce?
    (3) made of capture or convert fail or be again at any stage?

    I all else fails I would attempt a capture and convert again using a new repository (create a new schema in Oracle and associate him the migration repository).

    Kind regards
    Dermot
    SQL development team

    Published by: Dermot ONeill on October 22, 2009 12:18

  • Data type of text is not displayed using SQL Server and ASP/VBScript

    Maybe someone help me with this because I used to use PHP/MySQL, but I use for this a Classic ASP/VBScript and MS SQL Server instance and I don't know that much. The scenario is I have an old site that was designed using html tables and I do a CSS/XHTML update on Visual design. As long as we are here, there are some pages that are dynamic and use a MS Access database and we thought it's a good time to upgrade from MS SQL Server (2005, to be exact). No time/money for bringing classic ASP VBScript in ASP .NET.

    Overall, the upgrade went fairly well, especially just to create a new connection to the DB in SQL Server in Dreamweaver after all the tables and data were migrated to SQL Server. Almost everything works as it should. A problem though.

    For some reason, the data of the data type 'text' in SQL Server is not appear (or sometimes appear). I even tried to recreate the recordsets and binds fresh data and the code is more or less identical to what we had before. Anyone know what's happening, or how I can get this data to show?

    I think that there is perhaps some simple and double quotes in the text data and which could be screwing things up. I was hoping there is only a simple function that I could apply the code, but as I said, I don't know.

    Thanks in advance for any help you can provide.

    -Bill

    captcashew wrote:
    > Maybe someone help me with this because I used to use PHP/MySQL, but for this one
    > instance I use Classic ASP/VBScript and MS SQL Server and I do not know
    > that much. The scenario is that I have an old site that was designed using html
    > tables and I do a CSS/XHTML update on Visual design. As long as we
    > are there, there are some pages that are dynamic and that use a MS Access
    > database and we thought it's a good time to upgrade from MS SQL Server
    > (2005, to be exact). No time/money to classic ASP VBScript in ASP.
    > .NET so.
    >
    > Overall, the upgrade went quite well, especially just needed a new
    > connecting to the DB in SQL Server in Dreamweaver after all tables and data
    > have been migrated to SQL Server. Almost everything works as it should. One of the problems
    > If.
    >
    > For some reason, the data of the data type 'text' in SQL Server is not
    > appear (or sometimes appear). I even tried to recreate the recordsets and
    > binds fresh data and the code is more or less identical to what we had
    > front. Anyone know what's happening, or how I can get this data to show?
    >
    > I think that maybe there are single and double quotes in the text
    > data and which could be screwing things up. I was hoping that there is only a simple
    > function I could apply the code, but as I said, I don't know.
    >
    > Thanks in advance for any help you can provide.

    Your text field should be the last of your select statement, as
    its not stored in the table with the other data, its stored elsewhere,
    as a binary object, should be treated differently. Its common
    the migration of the access problem.

    If you need more of 8000 characters stick with him, otherwise use
    varchar (8000) or nvarchar (4000) If you need (limited unicode characters
    4,000 cos of the double byte characters)

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

  • latitude longitude coordinates SQL Server and the plot on the map of the brochure

    My question is basically:

    How to transform the data from SQL Server and map by unfolding?

    TIP: We run 11 Coldfusion, SQL Server 2000, flyer and JQuery if that helps somehow. If I need to download a javascript library, I can easily do.

    I ambulance and fire events in a database with the xy coordinates. My goal is to ask them about the news and place them on a map of the brochure. All our ambulances and fire trucks have gps in them and they broadcast at all times their location and status. Here's my query to get the latest data from gps for each truck;

    /*

    SQL Server 2000

    David Kulpanowski

    June 4, 2015

    Lee County EMS

    */

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    ;

    Shown below is an example of this query output;

    Call DateTimeStamp Latitude UnitStatus Longitude CurrentDate CurrentTime

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:17.357 LCM01 QA 26.56428 - 81.87044 June 4, 2015 17:14:17

    2015-06-04 17:14:18.670 LCM02 QA 26.64074 - 81.86507 June 4, 2015 17:14:18

    2015-06-04 17:14:34.420 LCM03 AR 26.64157 - 81.90973 June 4, 2015 17:14:34

    2015-06-04 17:14:20.420 LCM04 TA 26.63885 - 81.94159 June 4, 2015 17:14:20

    2015-06-04 17:14:21.297 LCM05 QA 26.4377 - 82.07806 June 4, 2015 17:14:21

    Below is my Coldfusion page with the flyer plan added in and the cfquery with cfoutput;

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < meta name = "viewport" content = "width = device-width, original scale = 1.0" >

    " < link rel ="stylesheet"href =" http://CDN.leafletjs.com/leaflet-0.7/leaflet.CSS "/>

    " < script src =" http://CDN.leafletjs.com/leaflet-0.7.3/leaflet.js "> < / script > .

    < / head >

    < body >

    < cfquery datasource = "GPSDatabase" name = "AmbulanceLocation" >

    SELECT

    DateTimeStamp

    RTRIM (CallSign) AS [Guide]

    RTRIM (UnitStatus) AS [UnitStatus]

    Latitude

    Longitude

    CONVERT (VARCHAR (15), DateTimeStamp, 106) AS [CurrentDate]

    CONVERT (VARCHAR (10), DateTimeStamp, 108) AS [CurrentTime]

    OF FireEMSGPSDatabase

    RIGHT OUTER JOIN

    (

    SELECT

    RTrim (CallSign) AS [Ambulance]

    MAX (DateTimeStamp) AS [MostRecentTime]

    OF HISTORY_201506

    WHERE RTRIM (CallSign) AS "LCM__".

    RTRIM GROUP (CallSign)

    )

    LIKE [MostRecent] on DateTimeStamp = MostRecent.MostRecentTime

    ORDER BY RTRIM (CallSign) CSA

    < / cfquery >

    < cfoutput query = "AmbulanceLocation" >

    < table >

    < b >

    < td > #DateTimeStamp # < table >

    < td > #CallSign # < table >

    < td > #UnitStatus # < table >

    < td > #Latitude # < table >

    < td > #Longitude # < table >

    < td > #CurrentDate # < table >

    < td > #CurrentTime # < table >

    < /tr >

    < /table >

    < / cfoutput >

    < div id = ' map' > < / div >

    < script >

    var L.map = map ('plan' {Center: [26.5641867068354,-81.8704100173261], fullscreenControl: true, zoom: 12});

    L.tileLayer ('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);

    < /script >

    < / body >

    < / html >

    To sum it all up - I have a SQL Server query that retrieves the last my ambulances xy coordinates. I have a Coldfusion page that has a map of the brochure and the cfquery. My question is how to plot coordinates in a flyer plan. I can't understand the middle of the book to get the results of my query in terms of the brochure.

    In addition, it is a dynamic environment. Ambulances are constantly in motion. This page must be dynamic, so that the page can be updated to show the latest data.

    You must create the map and tile layer prior to place markers and then run your loop inside of the script tag.

    I highly recommend reading through the tutorials on the site of the brochure.  They go on these things in detail.

    Quick start - leaflet guide - a JavaScript library for the mobile environment maps

  • Error of date when migrating to SQL Server to Oracle

    Hi all

    I'm the database migration SQL Server to Oracle.

    But the tool I use is not secret the date type GBA, so I'm stuck with tables that have particular date types.

    For example: the 'DATECAPTURED' column in the 'SIGNATURE' table in the SQL Server database has values:

    15-02-2013 10:03:48.387
    15-02-2013 10:01:05.930
    15-02-2013 09:59:07.197
    15-02-2013 09:50:15.797
    15-02-2013 09:39:15.557
    15-02-2013 09:37:12.643

    Why oracle can be able to accept this type of date format? :( I thought he is more intelligent than SQLserver :)

    My solution is to change any date to varchar2 (30).

    More bright ideas? while I cannot change data types?

    Thank you
    zxy

    yxes2013 wrote:
    Thank you Justin :)

    It's just that I have a lot to learn in a fastrack way, I am a very busy person :(

    Well, just a piece of advice. If you read the watch (and wait) documentation for the responses on the web and on various forums and try to do all the work, you are probably going to stay busy!

    in any case, I'll try another tool like sqldeveloper migration. For now, I have many things to research so I'd settle for the same time, workaround. New test is required for the tool.

    Good luck!

    I was taking just opportunities here if someone met the same problem as mine ;)

    It was not a problem of IMO, but was ignorance. People here know any Timestamp data type for SOME time I think and how, because they read the docs!

    Aman...

  • Replication sql server to oracle

    Hi all

    Anyone here good at replication?

    Can you help me what freeware, or the poor woman script or cheaper tool (compared to GG) to replicate the table from sql server to oracle?

    I tried Googling it, but it is simply too complex to understand :(


    Help, please...

    Thank you

    zxy

    yxes2013 wrote:
    Well he has trigger that records the primary key and the action made next to sqlserver.

    example of

    '100', 'I '.
    '200', 'U '.
    ' 300', 'd'

    Therefore the corresponding action will be also in oracle.

    But I want a good solution of script, that's why I just give you the trick :(

    Thank you...

    You should be this announcement on the forum SQL Server, because the script will need to be written in T - SQL to execute against this DB.

Maybe you are looking for

  • Late 2010 11 inch MBA vs purpose 2011 MBA Question

    Hi all! I have internal data of MBA 11 inches by the end of 2011 and the body of a late 2010 and 11 inches (model A1370) MBA. So, can I replace the inner workings of the MBA 2010 with those of MBA 2011? I mean, is the size of the logic on board, batt

  • Can I load my MacBookPro via usb

    Can I reload my retina MacBookPro mid 2012, thanks to its ports usb 3.0 safely? Thank you

  • On the orange calendar of get back'

    Original schedule of title: Orange How to make the calendar orange once it has been uninstalled?

  • Reading of texts

    Apologize if this sounds like a newbie quesiton. I tried to read the string in the file that is located in the /res folder. This code is based on the following knowledge base: http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/34

  • BlackBerry Smartphones trying to connect to my Storm

    I recently installed a new version of ACT Contact Manager.  There were a few SQL errors that had to be fixed to whom I have not bypassed as a new problem has arisen.  For some reason, I can't login is no longer assault via USB to 5.0.0.11 DM.  Whenev