Urgent:db link from oracle 10g to sql server 2000

Hi
I have a db link 10g from oracle to sql server 2000. This was created a couple of years ago. This is working.
I have now created another db link from same oracle server to the same sql server but it is not working.
But I am getting ORA-28500 and IM002 error
.Please advise.
I am unable to understand what is wrong because I have followed the hs odbc set up on this db link in the same way as I had done 2 yrs ago.
Thanks
Shailaja

Just sorted the problem.
Basically I am using HSODBC to communicate from Oracle (on windows 2003 64 bit)  to SQL Server.
To do this, I need to create a ODBC connection from Oracle to SQL Server.
HSODBC is a 32 bit application and hence we have to use the ODBC 32 bit driver when we create the ODBC connection.
When I created the  ODBC connection from Oracle to SQL Server, I was using the ODBC 64 bit driver and hence the system was unable to find the data source name.
I have now created ODBC connection from Oracle to SQL Server using the ODBC 32 bit driver and everything works fine now.
No offence to anyone but as you all work using Oracle software , I was hoping a better response than some of the above responses. You can just say that you didnt understand the question or you dont know the reason why that happened.
I just listed how the problem was sorted so that any one in future having the same problem can benefit.

Similar Messages

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

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

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

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

  • 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

  • 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

  • Create and insert into table from Oracle to MS SQL server.

    Hello,
    Oracle Database 11g and Red hat 5
    I have a very different kind of issue. I am handling the ORACLE db(remote db with all the important data). On the other side their is a MS SQL server db(local db with some testing data in it). All the users will access the ORACLE db for the actual processing but for sometime they need to apply some of their own concepts. So they will transfer the data from ORACLE to MS sql server.
    I want to create a code in ORACLE db like a procedure , which will create a table in MS sql server , insert data into it,Also create some metadata table to keep some of my table's info on MS SQL serve db,If the table is present it should append the data, .... like many things ...
    Overall my question is , how can i write a code to make these operation on a remote db, that to these operations are DDL and on MS SQL Server(Non-Oracle) ???
    Please guide me with some ideas or solutions ...
    Also provide if you have some good links to study ...
    thanks in advance.

    I'm not sure why you never visit http://tahiti.oracle.com prior to asking any question. Is it forbidden in your locale? Are you afraid of it? Will your salary be decreased when you visit the documentation?
    http://www.oracle.com/pls/db111/search?word=sql+server&partno=
    should provide sufficient information.
    Your doc question must be considered a violation of Forum Etiquette and an abuse of this forum.
    Sybrand Bakker
    Senior Oracle DBA

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

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

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

  • Migrating Oracle Databases to SQL Server 2000

    Hi friends,
    I wanna to Migrating Oracle Databases to SQL Server 2000.
    But i don have idea abt that.
    could u plz help how to start and procced.
    Neeraj Goel

    Hi Neeraj,
    This forum is dedicated to Migrating from SQLServer and other third party databases to Oracle.
    Not the other way round.
    The Oracle Migration Workbench facilitates migrations to Oracle.
    Regards,
    Dermot.

  • Oracle 8i vs SQL Server 2000

    Can anyone point me to a good source that can explain the advantages of using Oracle 8i vs SQL Server 2000 for Data Warehousing and business intelligence as well as for running a ebusiness ?
    We have a client who is interested in SQL sever and we are an Oracle shop.
    Thanks in advance.

    Hi,
    I have the same question. But I am searching on the net for a council or vendor who gives the services for comparing different products. It is available for CRM, but i am not sure about databases.
    Another I think If we can ask the client about why he has chosed sql server then we will be clear.
    I see the only advantage of sql server 2000 is to have the olap, dts in built with the sql server product.
    Any let me also know please. Thanks.

  • How to load oracle data into SQL SERVER 2000?

    how to load oracle data into SQL SERVER 2000.
    IS THERE ANY UTILITY AVAILABLE?

    Not a concern for an Oracle forum.
    Als no need for SHOUTING.
    Conventional solutions are
    - dump the data to a csv file and load it in Mickeysoft SQL server
    - use Oracle Heterogeneous services
    - use Mickeysoft DTS
    Whatever you prefer.
    Sybrand Bakker
    Senior Oracle DBA

  • 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

  • Oracle forms 9i/10g connecting SQL Server 2000

    Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
    To connect with Oracle Database, we need to copy and paste the tnsnames.ora file from the Oracle Database folder to the Oracle Forms folder.
    But how do i connect with other databases like SQL Server, MS Access, and so on?
    Thanks in advance.

    Follwoing is the soluton which I got from orafaq forum:
    <<<<<
    I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
    MHE
    >>>>>
    Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
    How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
    So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
    Or atleast some reference site where I can find the same.
    Thanks.

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

  • 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

  • Transfering information between Oracle 8 and SQL Server 2000

    I want to transfer some of the data stored in 4 different tables in my Oracle database and easy as possible to my SQL Server 2000 database. I found the import option in SQL2k which uses ODBCconnection to the Oracle but it needs the migration suit as far as I know. At the downloadarea there are only plug-ins for SQL Server 7 but not 2000.
    Am I even on the right track or is there any other way of accomplishing this?

    is there any known problem if I install Oracle 10g EE
    on the same machine where Sql Server 2000 EE is
    install?It's presently undocumented, but some of the ORACLE.EXE process threads are known to get stuck in an infinite loop whenever a SQL Server database is running on the same box. The infinite loops cause the SQL Server database to eventually shutdown, and then the loops are broken and Oracle returns to normal. Stack traces have revealed something like this, which would suggest that the Oracle process is actually communicating with SQL Server:
    Oracle:  laughAtGirlieDatabase()  /* infinite loop */
    SQL:     exit();-)

Maybe you are looking for