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.

Tags: Database

Similar Questions

  • 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

  • Migration from SQL Server to Oracle during 11.1.2.4 upgrade

    Hi all

    To further expand on the title, wanted to check if it is possible to migrate from SQL Server to Oracle, while improving 11.1.2.1 to 11.1.2.4 on brand-new material. There is a change in all the components (s/w, h/w, RDBMS) so I wanted to run this generic statement by the forum to see what the experts think.

    Where in the equation can count us on LCM?

    I know that John Goodwin had already answered a few questions on the same subject for previous versions, but as 11.1.2.4 is a different game... I would be grateful if someone could share their thoughts.

    Thank you!

    If you are installed on hardware costs and migration then it should be independent of the RDBMS. Not to say there is no problems with passing of 11.1.2.1 to 11.1.2.4 (if you use planning, for example, business rules-> Calc Manager) but they certainly should not be linked to the fact you've changed the underlying database.

  • 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/

  • 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...

  • 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

  • Migration from SQL Server to Oracle database

    I have 2 questions:

    1. we intend to convert our sql server databases oracle OLTP databases. I tried to use SQL Developer to migrate a database of small sql server to oracle (size 5 GB) database. It was fine. When I tried to migrate to a different database (size 90G), it takes too much time. The problem with sql developer is I can not pick and choose tables. 250 paintings, I need to migrate tables abt 80 (the size will be abt 50 G). What is everyone can share their experiences, as appropriate, converting databases of size average sql server for oracle databases? other options?

    2. I intend to convert the sql server ddl to oracle ddl. I have tested bcp out and use sql loader to import the data. Right now I am manually creating the oracle tables sql server tables. I use http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there other ways better to convert sql DDL DDL Oracle Server?

    Thanks in advance

    DDLS must be converted manually. Oracle is not SQL-Server.

    If for example, you have the option of partitioning, you should consider using the partitioning index and when it is possible. Not all tables must be hash tables. Do postpone you creation of segment or not? What type of tablespace? Set yourself free percentages and allows you to manage when the data block is on the free list and how much is reserved in the block of data to update rows in this block?

    There are many considerations to be taken with regard to the physical database design.

    Using BCP and SQL * Loader sound good. SQL * Loader is fast and scalable - use it to load up to 3.6 million lines every 60 seconds. Direct and parallel charges will give the best performance in this regard (assuming that the underlying table structure and use supports this approach).

  • 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.

  • 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

  • SQL Server-> conversion Oracle database FDM

    Anyone has any experience in the conversion from SQL Server to Oracle for FDM? (11.1 oracle now supports).

    My thought would be to re - treat all files of importation rather than try a conversion of database type.

    Thoughts?

    Thank you

    -John

    John,

    FDM has always support Oracle DB as a repository.

    To convert the SQL Server DB to an Oracle DB server, you have to re-create the metadata for the application at hand. Currently, the feature export to XML of FDM does not take into account differences in filing structures and cannot be used.

    You must then re-import all files or continue on creating this day with impatience.

    Thank you.

  • Mapping of Data Type from SQL Server to Oracle

    I use Oracle 12 c with heterogeneous services connects to SQL server DB. Some of the columns in the SB of SQL Server are defined as 'nvarchar (max). These come to Oracle as columns of type "long". I would like that these are 'varchar2' types in Oracle, so I do not have any restrictions related to the fields of type "long" when using. I can create a view in SQL Server to convert the data type IE. nvarchar (100). What is the highest value that I can use to make the data to display in Oracle as a varchar? BTW, I tried nvarchar (4000), but which showed any longer. I tried nvarchar (1000) and who showed as a varchar.

    The maximum value for an nvarchar2 in Oracle is 2000. Mapping - If the remote column is mapped to an Oracle varchar/nvarchar - depends on the type of data returned by the ODBC driver. When the driver returns SQL_Varchar, then the maximum precision is 4000 and when it will map it to SQL_WVarchar then it's 2000.

    As your Oracle database uses AL32UTF8 as set of characters that the maps to the Oracle long as your SQL Server nvarchar content is stored using characters UCS2 nvarchar (max), you will get the value that is covered by the database Oracle UTF8 character set. So it shouldn't really matter if the returned string is mapped to an Oracle, varchar or nvarchar.

  • 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/

  • Reading SQL Server from Oracle table

    Hello

    Oracle 11.2.0.1

    Windows XP Prof Edition

    After you create the DSN name DPO when I tried to connect the database sql server 2005 Enterprise edition on the same PC, I failed to establish connectivity.

    Here's what I did:

    C:\Documents and Settings\Administrateur > type %oracle_home%\network\admin\listener.ora

    listener.ora # Network Configuration file: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    (SID_DESC =

    (SID_NAME = opd)

    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)

    (PROGRAM = dg4odbc)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = newserver4) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = C:\app\Administrator

    C:\Documents and Settings\Administrateur > type %oracle_home%\network\admin\tnsnames.ora

    tnsnames.ora # Network Configuration file: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    LISTENER_ORCL =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    ORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = newserver4) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    )

    )

    DPO =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS =

    (PROTOCOL = TCP)

    (HOST = newserver4)

    (PORT = 1521)

    )

    )

    (CONNECT_DATA = (SID = opd))

    (HS = OK)

    )

    C:\Documents and Settings\Administrateur > type %oracle_home%\network\admin\sqlnet.ora

    sqlnet.ora # Network Configuration file: C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

    # Generated by Oracle configuration tools.

    # This file is actually generated by netca. But if customers can opt for

    # install 'Software Only', this file does not exist and without the native

    authentication #, they will not be able to connect to the database on NT.

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    C:\Documents and Settings\Administrateur > lsnrctl status

    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production 31 December 2013 18:26:13

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production

    Start date December 31, 2013 18:05:31

    Uptime 0 days 0 h 20 min 43 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\listener.ora

    C:\app\administrator\diag\tnslsnr\newserver4\listener\alert\log.XML log listener

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=newserver4) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    "Opd" service has 1 instance (s).

    Instance "opd", status UNKNOWN, has 1 operation for this service...

    Service "orcl" has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    Service 'orclXDB' has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    The command completed successfully

    C:\Documents and Settings\Administrateur > tnsping DPO

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production 31 December 2013 18:26:29

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = newserver4) (PORT = 1521))) (CONNECT_DATA = (SID = opd)) (HS = OK))

    OK (40 msec)

    C:\Documents and Settings\Administrateur > type %oracle_home%\hs\admin\initopd.ora

    # This is an example of initialization file of the agent that contains the HS settings

    # necessary for the database to ODBC gateway

    #

    # HS init parameters

    #

    HS_FDS_CONNECT_INFO = DPO

    HS_FDS_TRACE_LEVEL = off

    #

    # Required for the non-Oracle system environment variables

    #

    #set < varenv > = < value >

    C:\Documents and Settings\Administrateur > sqlplus scott/tiger

    SQL * more: Production release 11.2.0.1.0 on Mar 31 18:27:18 dec 2013

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > drop database link DPO;

    Database link dropped.

    SQL > create DPO link database to connect to 'his' identified by 'girish' using 'opd ';

    Database link created.

    SQL > select count (*) in the ny@opd;

    Select count (*) in ny@opd

    *

    ERROR on line 1:

    ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:

    [Microsoft] [ODBC driver manager] Name of data source not found and no default value

    specified driver {IM002}

    ORA-02063: preceding 2 lines of OPD

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    C:\Documents and Settings\Administrateur >

    PS: I do not know why I am not able to see my question above on the forum of heterogeneous connectivity , while the thread was generated:https://community.oracle.com/thread/2616787

    Thanks and greetings

    Girish Sharma

    Something new I learned today (32-bit and 64-bit): name not found and no data source driver by default specified - Dev Articles

  • connect ms sql server to oracle using db link


    Hello

    Source: Oracle 11g on linux

    destination: ms sql server 2005

    I need to create the link oracle to ms sql server db to display tables, it is posibble without having to configure gateways (as it looks like it is produced under license)

    Please let me know any alternative to achieve this

    Thank you

    PMP

    There are 2 bridge - commercial database gateway for Ms SQl Server, which requires a license and database for ODBC gateway which is free. The license for DG4ODBC is included in your license data. You just need to install an ODBC driver on your Linux machine (for example, to use the MS SQl Server for Linux ODBC driver - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:

    How to set up DG4ODBC on 64-bit Unix OS (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install [Article ID 561033.1]

    -Klaus

  • Time to request very diferent Sql-Server vs Oracle

    Hi all, thanks for your time, I comment on my problem I have a query optimized, index and other runs immediately when the answer is a few records in SQL Server, such as Oracle, but when the result is large, for example, 20 000 records all time access to the data is very different. The query returns several areas (about 20) and some of them are of type Varchar 250 and some 2000 I understand here may be the problem, but is not because for similar results (20,000 records) run in 2 seconds and Oracle sql, but it responds little to have complete data takes about 30 seconds. The problem is really providing information in all these areas, because if the investigation it also but only returning a numeric field is done in 2 seconds. The tests that I did both through ODBC, in the toad as the own Oracle console on the server, is not driver problem or flow of data through the network, I'd like to think that it is a part of the settings I think that there is as much difference between Oracle and Sql. Make me can help you? PD. The databases are 10 ORACLE and SQL Server 2008

    Close your question here (mark it as answered), read point 3 of the SQL and PL/SQL FAQ

Maybe you are looking for

  • Desktop icons not working-not XP and right click disabled

    Hello My computer has been infected by a trojan virus. My antivirus has identified and quarantined it.  As a result, the computer is back on the operation, however: 1 - the office is empty 2 - the mouse right click (or left) on the desktop does not. 

  • get rid of a trojan virus computer theft of password

    my computer is under attack from Trojan for about a week. The virus has taken over my control panel. I can connect but can't shoot anything thing upwards on the internet. He denies me access to my control panel and trying to make me buy an anti virus

  • C5180 printer requires the original cartridge

    After 3 years of service with all brands ink cartridges, now printer C5180 request introdctory crtridges of ink HP supplied with the printer must be installed. Why?

  • How to make in my user profile? Said the profile cannot be loaded

    HOW TO MAKE IN MY USER PROFILE? WHENEVER I HAVE TO CHECK ON MY PROFILE IT ME GIVES A MESSAGE THAT THE PROFILE CANNOT BE LOADED. IT IS ALSO THE ADMINISTRATOR ACCOUNT.

  • Changes start unexplained

    We have Windows Vista Home Premium and after have logged you on the computer seems to have been reset as if the computer was new.  The desktop wallpaper has changed, saved the desktop icons (for example, our documents) were missing, as well as other