Ongoing replication of the selected tables from Oracle to SQL Server

Hi all

How can we replicate selected tables to Oracle 11 g for SQL Server 2008/2012?

Is GoldenGate the only option

No matter who did it before or have the steps to do it?

Thank you

Define "replicate".

If you have no budget, you can open a connection directly from SQL Server to Oracle, or vice versa. In Oracle, they are called links DB; in SQL Server, they are called "linked servers".

Datanamic also have tools that claim to do the cross-DB replication. I have no experience with them and is not an endorsement - I know they exist.

Tags: Business Intelligence

Similar Questions

  • DB Link from Oracle to SQL Server error

    Dear friends,

    I need met some select on tables that are in SQL Server 2005 from Oracle 10 g.

    I followed the steps:
    http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm

    I could ping TNS who is successful, but only when I run a select I get this error.

    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of SQLS

    I checked my dsn name is in small caps completely everywhere where it is used (since its proposed in many sites).

    Please guide me.

    I'm looking for really come to a solution.

    Kind regards

    Nith

    similar use to Setup ODBC and datasource
    http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm
    and then create server link in sql server after testing WLAN with oracle

  • Data migration from Oracle to SQL Server

    Hello

    I have the Oracle database in one or several table, I also blob data, i.e. images are stored, now I want to move that data to the sql server database, which is the best way to do this?

    I would like to test for a migration of the table that contains the image data in the Oracle database and invade the SQL Server table.

    How to test for an Oracle table data to SQL Server migration?

    But the first thing I want to confirm is that if the Image from Oracle DB to SQL Server DB data are possible? is there something must be supported during the migration?

    Thanks in advance.

    Kind regards

    Vishal

    Published by: 968331 on October 31, 2012 02:31

    I think that it is supported. The equivalent data type in sql server is IMAGE/varbinary (max)

    See the bottom of the article for the mapping of data types:

    http://weblogs.sqlteam.com/jamesw/archive/2010/07/28/datatypes-translation-between-Oracle-and-SQL-Server-part-1.aspx

  • DB link from oracle to sql server

    Hi all

    Which is the easiest way to connect to sql server from oracle database? Require a separate permit? It's 11.1.0.7 on RHEL 5.7, 64 bit.

    Kind regards

    Vinod

    Hello

    There is a simple example using the 'free' method described here Ed

    http://dbaharrison.blogspot.co.UK/2014/12/Oracle-talking-to-SQL-Server-over.html

    See you soon,.

    Rich

  • How to import the selected tables from MySQL to Oracle

    Hello world:

    How can I import tables from MySQL to Oracle? I have more than 180 tables in my DB (MySQL), but I copy only 12 of them to ORACLE... rigth now I do it manually, using SQL Developer (rigth clicking on the picture icon and copy to Oracle) but now I need to do this automatically every 4 hours...

    I read on the dblink option, but I don't know if this is the best for this case...

    I appreciate all help.

    Best regards
    Jack

    Hi Jack,

    I think that with a db-link you can define an automated task (PL/SQL + programmer).
    We use a db-link to Oracle's RDBMS to MySQL. So we have no experience.
    We have created the db-link like http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/

    Heike cordially

  • Try to put in place the new hs from 10g to SQL Server 200 X

    I followed the instructions described here:
    http://download-West.Oracle.com/docs/CD/B10501_01/server.920/a96544/admin.htm#169356

    trying to set up an ODBC server connection internal Oracle 10 g 2 on Windows Server 2003 to an external (IE 3 rd-party organized) SQL Server. The ODBC withdrew very well to the test of connection, etc. I'm trying to set up a database connection using heterogeneous services but get this error when I try to validate the link:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve test of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from TUMS
    I started by changing the existing inithsodbc.ora file and rename it to inithsTUMS.ora. Here is the content:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent. 
    
    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = TUMS
    HS_FDS_TRACE_LEVEL = OFF
    'TUMS' is the name of the ODBC data source.

    Then, I modified the listener.ora file. Here it is:
    # listener.ora Network Configuration File: E:\oracle\10gr2\DB\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    LISTENER_TS10G1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = ts10g1)(PORT = 1521)(IP = FIRST))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521)(IP = FIRST))
        )
      )
    
    SID_LIST_LISTENER_TS10G1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = E:\oracle\ora10gr2\ASM)
          (PROGRAM = extproc)
        )
        (SID_DESC =
          (GLOBAL_DBNAME = +ASM)
          (SID_NAME = +ASM)
          (ORACLE_HOME = E:\oracle\ora10gr2\ASM)
        )
        (SID_DESC =
          (SID_NAME = TS1)
          (GLOBAL_DBNAME = TS)
          (ORACLE_HOME = E:\oracle\ora10gr2\DB)
        )
      )
    
    LISTENERTUMS =
     (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
          (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    
    SID_LIST_LISTENERTUMS=
      (SID_LIST=
          (SID_DESC=
             (SID_NAME=TUMS)
             (ORACLE_HOME=E:\oracle\10gr2\DB)
             (PROGRAM=hsodbc)
           )
          )
    After having done that, I tried to start the listener. He started, and I got an OK on TNSPING.
    TNSNAMES.ora
    # tnsnames.ora Network Configuration File: E:\oracle\10gr2\ASM\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    
    TS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TS)
        )
      )
    
    LISTENERS_TS =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521))
    
    
    TS1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = TS)(UR=A)
          (INSTANCE_NAME = TS1)
        )
      )
    
    +ASM =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = +ASM)
        )
      )
    
    ASM =
       (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.168.201)(PORT = 1521))
          (CONNECT_DATA =
             (SERVER = DEDICATED)
             (SID = +ASM)
             (UR=A)
          )
       )
    
    TUMS=
       (DESCRIPTION=
          (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.168.201)(PORT=1522))
          (CONNECT_DATA = (SID=TUMS))
          (HS = OK)
       )
    Can someone point me to a potential source of problem?

    2019 means the database link (in your case named TUMS) is not found. Perhaps you gave up or the user cannot access.
    Try to recreate: create database tums link to connect to... identified by... using 'TUMS ';

  • convert data from oracle to sql server functions

    In oracle, I get the result.

    floor ((trunc (INF. INFUSION_DTE) - trunc(S.BIRTH_DTE))/365.25) as PATIENT_AGE,)

    example: patient_age is 30

    How to write in sql server, looking for the same result as an oracle.

    CONVERT (VARCHAR (12), t.event_dte, 111) event_dte,.

    CONVERT (VARCHAR (12), p.birthday, 111) anniversary.

    Google is your friend... search for "sql server convert date of birth age" and you will get many examples. And here's one:

    DATEDIFF (hour, p.birthday, t.event_dte) / 8766 as age

    HTH,
    Brian

  • Connection from Oracle to Sql Server (64-bit on Windows 2003)

    Hello

    I want to install heterogeneous connectivity between our Oracle 10 g version 10.0.2.0.1 (on 64-bit Windows 2003) to a SQL Server on another computer on the network. I found that HSODBC is removed, and that this is is not supported on 64-bit Windows systems. So, I couldn't make it work obviously.

    It is even possible to set up a heterogeneous connectivity in our situation (using DG4ODBC or something?)
    If so, could someone point me in the right direction on where to start?

    Thank you!

    (I'm not a dba, previous attempt using hsodbc cost me two weeks before finding out that it doesn't even work...)

    Edit:
    Oh, and it is possible to display the Metalink notes as (Metalink Note: 361676.1, is generic connectivity available on The LINUX or Windows 64 - bit Platforms?) without a support contract? Or only customers with a support contract have the right to know that some features are not available?

    Published by: user574699 on March 18, 2009 06:24

    According to your last update, your actions are:
    1.) upgrade Oracle on SERVER1 to 10.2.0.4.0-online Yes
    2.) DG4ODBC is not certified to run on SERVER1, then I should install on SERVER2 tell you? That there is no installed Oracle... ?
    Yes, install it on the server of SQL Server 32-bit.

    The gateway comes with a complete Oracle SQL * Net listener. Just so install the 32-bit to SQL Server and configure the Oracle listener as well as the bridge and the ODBC driver.
    Now on the Oracle database server adds a TNSNAMES file. Entry of ORA that points the listener to the Oracle of the gateway on the SQL Server computer. The link of database within the 10 g, which oracle databased then connects using tnsnames.ora alias in the SQL Server computer that has an active Oracle listener that generates connection DG4ODBC. DG4ODBC executable load DG4ODBC configuration file and connects to SQL Server you have configured.

    The Oracle gateway are very flexible. You don't need to install them on the Oracle database machine. They can be installed independently; even on a 3rd machine if you do not want to touch the SQL Server computer. In this case, the scenario is similar as described above; only difference now is the driver ODBC to connect to a SQL Server computer on a remote host.

  • How to generate the tag xml from oracle pl/sql

    Hi all

    I have my db is version 10.2.0.3.0 - Production

    I tried a few examples

    The first is xmlgen.getXml like that

    SELECT dbms.xmlgen.getXml)
    ' SELECT order_number "EMP_NO".
    , header_id 'NAME '.
    , org_id "DEPT_NO.
    Of oe_order_headers_all
    WHERE header_id = 39441'
    ) OF THE double;


    but I think xmlgen.getXm is not a valid identifier

    Secondly, I tried like this

    SELECT e.employee_id,
    XMLELEMENT ("Emp", e.first_name |) » '|| Select) AS 'RESULT '.
    OF e hr.employees



    but the expected production is like that

    1001 < Emp > John 6000 < / Emp >


    but I'm getting

    10 (ORAXML)

    Someone could tell me what error or no matter what format was changed

    Thanks and greetings
    Srikkanth

    example:

    SQL> ed
    Wrote file afiedt.buf
    
      1  SELECT dbms_xmlgen.getXml(
      2  'SELECT empno "EMP_NO"
      3  , ename "NAME"
      4  , deptno "DEPT_NO"
      5  FROM emp'
      6* ) FROM dual
    SQL> /
    
    DBMS_XMLGEN.GETXML('SELECTEMPNO"EMP_NO",ENAME"NAME",DEPTNO"DEPT_NO"FROMEMP')
    --------------------------------------------------------------------------------
    
    
     
      7369
      SMITH
      20
     
     
      7499
      ALLEN
      30
     
     
      7521
      WARD
      30
     
     
      7566
      JONES
      20
     
     
      7654
      MARTIN
      30
     
     
      7698
      BLAKE
      30
     
     
      7782
      CLARK
      10
     
     
      7788
      SCOTT
      20
     
     
      7839
      KING
      10
     
     
      7844
      TURNER
      30
     
     
      7876
      ADAMS
      20
     
     
      7900
      JAMES
      30
     
     
      7902
      FORD
      20
     
     
      7934
      MILLER
      10
     
    
    
  • Unlike char in ORACLE and SQL SERVER

    Hello gurus,

    I tried to querying data from Oracle to sql server through linked server, but get me an error! set length corresponds to the error! I know there are CHAR data type in sql server and thus as in oracle.

    But when I use the CAST FUNCTION with CHAR it works fine
    -- error code 
    
      select * from openquery( linkoracle11 
               select  col1, col2, col3 from test_table )
    
    
    -- say col3 char(1)   -- data type
    ---

    -- working code 
    
      select * from openquery ( linkoracle 11 
               select  col1, col2, cast (col3 as char(1)) as col_3 from test_table )
    I was wondering, what is the difference between oracle and sql server for the CHAR data type?

    The gurus of the idea?

    Thank you

    What is the error you get?

    What is the characters in database and NLS_LENGTH_SEMANTICS game on your Oracle system?

    SELECT *
      FROM v$nls_parameters
     WHERE name LIKE '%CHARACTERSET';
    
    SQL> SHOW PARAMETER nls_length_semantics;
    

    What is the character set of data in SQL Server?

    If your local database is a variable length character set (like UTF8) and NLS_LENGTH_SEMANTICS is set to (default) BYTES, a char (1) allocate 1 byte of storage which may not be sufficient for a single character. The receiving application may need to allocate a buffer with 3 times more many bytes as there are characters in order to ensure that it will be able to process the result. I don't know why add an implicit CAST that would change, but since we are several levels removed from the code to figure out how large a buffer to allocate, it is not very surprising.

    Justin

  • Links of DB Oracle to Sql server

    Hi all

    I intend to create DB connection from oracle to sql server 2005.

    Please provide the doc to create db connection from oracle to sql server 2005 and also made me know is their any freeware to do the same thing.

    Concerning

    It would be useful you might mention what platform works on your Oracle database and word size of the OS (32/64 bit).

    The free solution would be to use the database for ODBC (= Dg4ODBC) gateway and install it on a platform of MS Windows or Linux 64-bit with regard to these 2 platforms that Microsoft offers a free ODBC driver. On all other platforms, you can buy an ODBC drivers appropriate from a 3rd party such as DataDirect provider. I know, some people here on the Forum use FreeTDS but this driver is not a good choice when using it in production.

    Beginning with the documents where you can create a link to database free of charge:

    Please take a look at documents available on the My Oracle Support Portal:
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 64-bit Windows operating systems to connect to Oracle databases Post Install [1266572.1 ID]
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 32-bit Windows to connect to Oracle databases Post Install [466225.1 ID]
    and
    How to set up DG4ODBC (gateway for ODBC Oracle database) on 32-bit Windows to connect to Oracle databases Post Install [466225.1 ID]

    As mentioned for other platforms, you can usually buy a 3rd party ODBC driver and according to licensing costs this 3rd ODBC driver may be more expensive the using commercial product Oracle, MS SQl Server database gateway. It is designed for MS SQl Server connections and much more powerful then DG4ODBC - for example it allows you to call SQL Server stored procedures remotely or to participate in the distributed transaction.
    Documents on the DG4MSQl are also on the support of Oracle Portal.

    -Klaus

  • dblink Oracle to SQL Server

    Hi all

    I need to create a dblink, Oracle 10 g to MS SQL Server 2005. I looked for more information on inet to this topic, but I couldn't find a complete article about how to set up a kind of dblink.
    Any of you know where I can read about it? Some article, doc or any source is OK.
    Thank you for the ind...

    This aid cannot:

    use generic connecitivty that ships free with oracle for heterogeneous service.

    http://www.databasejournal.com/features/Oracle/article.php/3442661/making-a-connection-from-Oracle-to-SQL-Server.htm

    http://www.Oracle-base.com/articles/9i/HSGenericConnectivity9i.php
    http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm

  • Is it possible to get the query Details of the old run from oracle?

    Is it possible to get the query Details of the old run from oracle? I mean, I wanted to know the details of a request executed work, I know the time taken by the query to run? Is it possible to know?

    Yes, it is possible to obtain, provided you use enterprise edition version + additional license *. A few tables to get information of are:

    dba_hist_sqltext

    dba_hist_sqlstat

    dba_hist_snapshot

    dba_hist_sql_plan

    dba_hist_active_sess_history

  • export table from oracle 10g with oracle 8i exp utlity

    Hello

    I export table from oracle 10g with oracle 8i exp the binaries:
    bash-2.05$ exp pin/pin file=prakash.dmp tables=prakash@APPSDB
    
    Export: Release 8.1.7.0.0 - Production on Tue Aug 4 09:58:18 2009
    
    (c) Copyright 2000 Oracle Corporation.  All rights reserved.
    
    
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Export done in UTF8 character set and UTF8 NCHAR character set
    
    About to export specified tables via Conventional Path ...
    EXP-00011: PIN.PRAKASH@APPSDB does not exist
    Export terminated successfully with warnings.
    I can't please inputs appreciated.

    axis/axis here is the user and pwd to oracle 8i
    Prakash is the name of a table in oracle 10g

    appsdb is the link of database

    Thank you

    Prakash GR

    axis/axis here is the user and pwd to oracle 8i

    Prakash is the name of a table in oracle 10g >

    To export the database 10g PRAKASH table, use the 8i export utility.

    log tables = prakash.log file = prakash.dmp exp = feedback = 100000 PRAKASH

    Who is the owner of the table? You have the TNS entry for the 10g database in your NET80 folder. If this isn't the case, then put an entry in there. Then, when you are prompted for the user name

    username:newcolsys@tns_alias/password

    HTH
    Anand

  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

Maybe you are looking for

  • Satellite U500 - 1 DR series Notebook is not detected by the TOSHIBA site

    Hey,. My Toshiba Satellite U500 - 1DR Series notebook (Serial No. 1A058758R) is not detected by the automatic detection of TOSHIBA online system. When trying to get portable detected manually on the site, I stopped fingd the model (Satellite U500-1 D

  • Satellite Pro C660-2I - hardware upgrade

    Hey there, I was wondering if it is possible to update the graphics card, sound card and processor on this laptop? Please tell me you need to know

  • Pavilion G5000(RY491EA#UUW): Bios problem

    Hello! I have a laptop HP Pavilion G5000 (RY491EA # UUW), processor Intel (R) Core (™) Duo CPU T2250 @ 1, 73 GHz. OS Microsoft Windows 10 Pro. In 2008, the computer inside the service your service of HP in Linköping in Sweden, when you have changed t

  • Error code: 0x64C

    Microsoft.Net Framework 1.1 Service Pack 1 security update. Dell has tried and says now I might have a virus. Help me they want me to buy it software warranty for $240.00. They say that I may have a virus. All these problems started when I tried for

  • Samsung S2 Portable HXMU050DA 500 GB external hard drive not compatible windows vista

    This is the first time im connect my external hard drive. im running windows vista and I get a message on the pilot is not not compatible or that I need to download a driver, so I went to the samsung support page and I couldn't find the driver... Ple