Oracle 10g to sql server 2005 - how to setup

Hi,
I have been searching on how to setup a connection from oracle 10g to sql server 2005 and i have to admit i am struggling a bit.
I have read about Heterogeneous Services and Database Gateway but we really dont want to fork for licence fees so it looks like i have to investigate HS.
My environment is:
10gR2 Linux 32 bit
SQL Server 2005 32bit.
Would someone be able to provide me with a list of steps to help me get this setup?
Thanks.
B

Hi,
If you don't want to pay for any licence fees then you will have to use the 11g Database Gateway for ODBC (DG4ODBC) which is included in your RDBMS license.
You need to use the 11g versions because all previous gateway versions have been desupported for some time. The latest version is 11.2.0.3 which can be downloaded from My Oracle Support as -
Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
and download -
p10404530_112030_platform_5of7.zip
- this is the Gateway media pack and has everything needed for a standalone gateway install.
This version is certified the following RDBMS versions - 10.1.0.5 + RDBMS patch 5965763, 10.2.0.3 + RDBMS patch 5965763, 10.2.0.4, 10.2.0.5, all 11.1 versions, all 11.2 versions.
You have 2 choices about where you can install it and it would be better to install the gateway into a new and separate ORACLE_HOME from any existing Oracle installs -
1. On the Linux 32-bit platform where the RDBMS is running. If you install it here you will need to supply a third party ODBC driver. The only free one I am aware of is from FreeTDS but there may be others. There can be problems with the FreeTDS so another one may be preferable but these usually require a license fee.
See this note in My Oracle Support -
How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install (Doc ID 466228.1)
2. Install DG4ODBC on the Windows platform where SQL*Server is running. If you install on Windows then you will be able to use the Microsoft SQL*Server ODBC driver which should already be installed. See this note on My Oracle Support -
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit (Doc ID 466225.1)
If you don't have access to My Oracle Support you will need to contact someone in your organisation to access the notes for you or review the gateway documentation -
http://www.oracle.com/pls/db112/homepage
Regards,
Mike

Similar Messages

  • How do you compare Oracle 10G with SQL Server 2005?

    exept for performance and pricing...
    We haven't decide to upgrade SQL Server 2000 to SQL Server 2005 or buy more license for Oracle 10G...
    Any comments are welcome!

    OK I only came here because of APC's referral down the piece (I was curious where all the hits came from - cheers Andrew). Comments embedded anyway
    Thanks Gaff!
    * Staff Experience with product - how flexible is
    your staff?
    --Staff need to learn sth. new...:)That's a fair motivation if recruitment and retention of staff is an issue - if you want reliability giving business systems to people who don't know the tech is a rather foolish move.
    * Current product use Corporation/group - if you have
    15 SQL Server boxes and no Oracle, what is the
    impetus for change? Same if you have 15 Oracle boxes
    and no SQL Server ones.
    --80% SQL server and 20% Oracle. We are thinking to
    balance to 50%-50%.I'm curious as to the reasoning behind this? I don't really see what the benefit is.
    * Features - Do you want/need text handling
    capabilities? Data mining? Storage of non-text
    records? XML?
    --I think both of DB system can do these.They can
    * Scalability - Is one Windows box going to meet your
    needs or do you need to scale (now or eventually) to
    multiple boxes of multiple CPUs?
    --This is really a benefit feature of Oracle better
    than SQL Server.SQLServer scales - it just scales in a different way (federated databases vs RAC).
    Thank u for ur US$.02Are you evaluating the platform for an in-house development or a database neutral application - if the latter I'd be sorely tempted to find out what the development platform is or read the docs for clues. For example we are looking at a product that supports SQLServer,MSDE and Oracle. In the FAQ "how do I choose between SQLServer and MSDE?", if we do implement it will be on an MS platform.
    I consider this probably the most crucial factor since SQLServer and Oracle have different architectural features they tend to generate different development approaches - porting one to the other nearly always hurts the new platform. Plus if I need support I'd be hoping that I got a bug fix from a developer and not from a developer whose fix was then ported.
    The same applies to in-house dev obviously, but there at least you can hire people with the right skillset for the app development.
    Cheers
    Niall Litchfield
    Oracle DBA
    http://www.niall.litchfield.dial.pipex.com

  • Moving table from oracle 10g to sql server 2005 plz help!!!

    Hi All,
    I have a table in oracle that i have to move to sql server.
    I have exported the table and the dmp file is around 150 MB.
    I do not know how to import this file into sql server.
    Can some one kindly update me as to which is the best way to do this,
    i know the best people to answer this would be the sql server techs but just wanted to try my luck on OTN.
    regards,

    Hello,
    you could use the Database Gateway for MS SQL Server, create a database link that uses the gateway, and then transfer the data from Oracle to SQL Server using in SQLPlus a command like the following:
    copy from scott/tiger@ora102 -
    insert TEST1@dg4msql -
    using select * from test1@ora102 ;
    Another solution is using a PL/SQL block, and how to do it is described in the following note in My Oracle Support:
    "Insert Into Remote Table Select * From Local Table" Gives Error ORA-02025 Using DG4MSQL (Doc ID 790572.1)
    I don't know whether it is the "best way to do it", but it is an alternative.
    For inserting a flat file into SQL Server you really need to check with Microsoft. Or you can use 3rd party software: http://www.dbload.com/
    Best regards
    Wolfgang

  • Integrate Oracle IDM with Sql Server 2005

    Hi Guys,
    We maintain the employees information in Oracle IDM and we want to integrate Oracle IDM with Sql server 2005.
    how we can this.

    The DB connector?
    The 9.0.1.4 version supports SQL server 2005.
    The latest version of the GTC db connector might also work.
    Best regards
    /Martin

  • Comparing Oracle and MS SQL Server 2005

    Hi!
    I'm looking for documents which compare
    features, price etc og the database and database related development-projects
    I'm looking for resources that describe the terminology used of MS and Oracle for their db's.
    I'm also looking for "Feuerstein"-best-practices in MS-world.
    And at last I'm looking for simple and complex scenarios comparing performance/features of these db's.
    And if possible, I want them from some "independent" sources...
    Can anyone help?
    Best regards
    Bjorn Dorr Jensen

    Hi Hans!
    I think it would not be fair comparing Oracle 10g with SQL Server 2000.
    So thats why I'm looking for comparison with SQL Server 2005,
    but if you have something that compare Oracle 11 with SQL Server 2005,
    let me hear about it :-)
    The objective:
    well, the last 2 years I worked with Oracle DB (tuning, pl/sql) in an serious manner.
    and now I have to work with SQL Server (which I didn't work with the last 2 years),
    so I'm interested in the differences.
    For now it seems that many SQL Server features are primitive compared with Oracle, but Microsofts usability is much better.
    O1.) But is it really more primitive or are I'm missing the nessessary experience with SQL Server? Thats some of the points I want to find out.
    O2.) Analyzing our own requirements for features: when would it be better to use Oracle and when to use MS? How to make this measure-able?
    Could one make an descision tree like:
    when more than x users/day and clustering needed and db_size>y....
    O3.) Should I promote in an environment with people only using MS-products,
    promote the use of Oracle-DB? When will this be an good idea?
    (I don't think it will be an good idea the other way around: moving from Oracle to MS SQL Server - or would it ;^)
    Best Regards
    Bjorn

  • Replication of table from Oracle 10g to sql server 2000

    Could i replicate table from Oracle 10g to sql server online. we have tables with same configuration and if any change happen in oracle 10g or sql server in that table we need to replicate that change to other database.
    What is the solution for this two way replication between sql server and Oracle 10g

    But the tutorial is saying that i will have to install Oracle database on the server already having sql server, is it client or whole database, if it is then it will acquire lot of resource.
    I want to find out that for Heterogenous Service ODBC, we need third party software for ODBC Driver of SQL SERVER for Linux and secondly if we use Transparent Gateway then what are the steps for its configuration.
    I could not find steps of configuration of Transoparent gateway, when i am trying to install Transparent gateway from Universal installer, it is not there. where do i find it , Do i need to purchase it too.

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • How do I copy a table from Oracle DB to Sql Server 2005 db ?

    Hi , can anyone tell me what the SQL syntax would be for me to copy a table from an ORacle Database over to a SQL SERVER 2005 database ?

    Hi,
    Please look into this link,
    Re: Dump data from SQL Server Database to Oracle
    Thanks

  • Creating and Using View Objects on JDev 10g against SQL Server 2005

    I'm currently working on this project on Jdeveloper against a SQL Server 2005 DB (I couldn't talk this people to migrate to Oracle... :-( ), and it's the first time I work with JDev against a database other than 10g.
    I had no problem making the connection, and I can see the DB in Conections->Databases, but when I create an app. module, and create entities and views and add them to the app. module to access them through the Data Controls, these don't work. I can see the view on the Data Controls, and when I drag them to my jspx page it shows the menu that let's me choose whether I want to create a table, or a selection, or a tree, but once I choose one, it does nothing.
    I've search all over the internet and haven't found a solution, so I come to this forum desperate for help, seriously.
    Please get in touch; if anyone knows another solution that doesn't involve not using JDev or SQL Server 2005, please let me know, because I basically need to have a few selectonechoice showing some data from a few tables.
    Thanks for reading this post, and hope to get help.
    Carlos.

    Hi,
    can you run the model in the ADF BC tester ? If this is possible the SQL Server doesn't seem to be the problem. Are you on JDeveloper 10.1.3.3? If not, just get this latest build
    Frank

  • Transfer data from Oracle 7 to SQL server 2005

    Hello guys,
    I am new in Oracle and I need some help from you:
    I have an Oracle database 7 and I need to transfer some tables into MS SQL Server 2005.
    Is there any ORACLE utility (compatible with ver 7) to help me in this task?
    If not, what is the way to trasfer data from a Oracle database 7 to SQL Server 2005?
    Thank in advance

    SQL Server can access Oracle database via the Linked Database feature however I do not know if you could find a Oracle 7 database compatiable Oracle client to use with a SQL Server 2005 database. i would not even try to configure this.
    What I suggest is you use SQLPlus to spool out delimited data into flat files, copy/FTP etc ... those flat files to your SQL Server box, and use BCP to load the data into SQL Server.
    There have been numberous posts of generating delimited flat files from Oracle data posted here on the forum but here is one method that will work on version 7:
    How do I export a database table to a flat file ?
         http://www.jlcomp.demon.co.uk/faq/flatfile.html
    HTH -- Mark D Powell --

  • Oracle .dmp to SQL Server 2005

    I am trying to import an Oracle .dmp database into SQL Server 2005, what would you suggest as the fastest and easiest way to do this?  DTS/SSIS doesn't have an instant solution and the script I tried to use gave me an error...
    Msg 3241, Level 16, State 0, Line 1
    The media family on device '<DATABASE>' is incorrectly formed. SQL Server cannot process this media family.
    Msg 3013, Level 16, State 1, Line 1
    RESTORE DATABASE is terminating abnormally.
    I would like a GUI based way to do this if at all possible.  Thanks
    -Kyle

     JohnMCIC wrote:
    HI Suprotim,
    I am having the same problem. Could you explain in more detail how to import the Oracle .dmp file to SQL 2005. Thank you in advance.
    john
    I don't believe that the earlier responder was saying that SSIS could work with .DMP files. I think he was saying "use SSIS to transfer data from your Oracle database to SQL Server instead of trying to use .DMP files at all."

  • Oracle 10g to SQL Server 2012

    Hi,
    We are planning to upgrade our SAP. Our environment: Windows Server 2003, ERP ECC 6, Oracle 10g.
    Am looking for guides to migrate our Oracle database to SQL Server 2012.
    With new server, may I know how to convert our data from oracle to SQL Server 2012?
    Thank you.

    Hi,
    First place to start
    https://websmp207.sap-ag.de/OSDBMIGRATION
    Then check PAM to ensure the direction and versions you want to migrated are supported https://websmp207.sap-ag.de/pam.
    Please check link here.
    http://scn.sap.com/docs/DOC-8324
    In marketplace you can also use the guidefinder, for your versions this should be correct.
    https://websmp209.sap-ag.de/~form/sapnet?_SHORTKEY=00200797470000085733&_SCENARIO=01100035870000000202&
    Kind Regards,
    Johan

  • DB Connect from BW on Oracle to MS SQL Server 2005

    Hello,
    I am having issues replicating Meta-Data from SQL server databases via DBCONNECT to SAP BW.
    For instance we have the CCM DB and the Siebel DB.  We can transfer meta-data from CCM with no problem (SQL Server 2000) but we cannot transfer meta-data from Siebel (SQL Server2005).
    Our SAP BW is system is on an Oracle database.
    CCM is on OS Win 2003. SQL 2000 SP4.
    Siebel is on Win 2003 Server Enterprise 5.2 and SQL Server 2005 SP2.
    I already have the dbsl for SQL server installed in the BW system. When I do a Connection Check of the source systems in RSA1, it says "Source system connection OK".
    Any help will be highly appreciated.
    Thanks,
    Ajay

    Hi,
    I don't think the 32 vs. 64 bit is the issue. Have you tried checking OSS note: 512739. It describes the prerequisites for accessing MS SQLServer via DB Connect. Normally problems occurs due to unsupported data types being used in SQLServer - in such cases you have to create views in the source system and then use these views instead of the actual database tables. In the view you can perform the necessary data type conversion.
    Hth,
    Jacob

  • DDL Replicate Oracle 10gR2 to SQL Server 2005

    Dear Gurus,
    I have configured OGG and it had succeed to have DML transaction from Oracle to SQL Server.
    now i'm configuring DDL replication but have problem when i tried to start replicat program in SQL Server 2005, the status is abended.
    the log shows as below,
    ** Running with the following parameters **
    REPLICAT rora01
    sourcedb dsn_ncli, userid ggs_user, password ********
    2012-04-17 18:02:20 INFO OGG-01552 Connection String: provider=SQLNCLI;init
    ial catalog=gate;data source=BT-70CF7B38342B;user id=ggs_user;password= ********
    HANDLECOLLISIONS
    ASSUMETARGETDEFS
    DISCARDFILE ./dirrpt/rora01.dsc, PURGE
    DDL INCLUDE MAPPED
    DDLOPTIONS REPORT
    MAP hr.*, TARGET ggs_schema.*;
    2012-04-17 18:02:20 ERROR OGG-00899 Table GGS_SCHEMA.GGS_SETUP does not exist.
    Fyi, in hr schema in source database, GGS_SETUP is created after i Install GoldenGate DDL objects in source db. GGS_SCHEMA is schema that replicat schema in target database.
    Please help what should i add in replicat parameter to have this DDL works ?
    Regards,
    Andes
    Edited by: 915856 on Apr 17, 2012 10:16 PM

    Hi Steve,
    in Installation guide there is no explicit line that explain "DDL replication is not supported for SQL Server."
    but now i know, thanks for that.
    i have another question, so DDL replication only support between the same database like Oracle to Oracle, SQL Server to SQL Server etc. ?
    Regards,

  • Transfer data from 2 oracle version to sql server 2005

    Hi,
    I have two database servers on different machines. They are
    1) Oracle 8.1.7.4
    2) Oracle 7.3.1.4
    I have to create agents which can transfer tables from these two databases to one machine having sql server 2005 database.
    Please tell me what are the options. What drivers i need to install on machine having sql server 2005 so that i can transfer data from both oracle versions.
    Thanks
    Rajneesh.

    You could create a linked server. Install the Oracle client on the server with SQL Server 2005, setup the TNS to your Oracle databases, create the linked server and then grab the data that way. There are migration tools as well but if the database is small in size I found linked servers to work and give me better control over the migration. This assumes that the database is not very large. If it is really large a migration tool might be a better option.

Maybe you are looking for

  • PC wont recognize iphone4 after restore failure trying to upgrade to OS5

    After trying to upgrade to OS5, I received a failure notice on the restore and it said to update my Windows7 and restart. Now my PC will not recognize the iphone as a device in MyComputer or in iTunes.  The phone just displays the illustration screen

  • What the best way to create XML files from JAVA application?

    Hi to all, I need to edit and to create new filex in format of xml. I know to parse, but what would be the best way to do: 1. - Create new file, create like simle text file, or there is some clases that know to do it in more simple way 2.a - Edit XML

  • Store Procedure execution using dataset

    hi friends can anybody tell me how to execute oracle stored procedure using dataset in C# Thnx Monika

  • ITunes crashes when syncing with iPhone

    I have had my 3GS for almost 4 months and love it (bar the poor battery life) but I have recently downloaded apps via the phone and now when I sync to iTunes, iTunes freezes on the same screen each time while backing up the iPhone. The following mess

  • Salesrep LOV not getting populated

    salesrep LOV is not getting populated at Customer master, Sales order, Service Contract or at ny other level. only no sales credit value is seen. dose any one have fix for this issue