Connect to sql server 2008R2 64bit  from oracle 10g (10.2.0.4)

Hi
My requirement is to connect SQL server 2008 R2 64bit to oracle 10.2.0.4.0. and get the data from the SQL database. The SQL server database is located in a remote server. Please let me know the most suitable method to connect.
Oracle database is running in Red hat Linux 4 enterprise edition 32bit version.
Regards
Pramuditha

Pramuditha,
I assume that your Oracle database should be the driving site that pushes and pulls the data from/to the SQL Server.
Here Oracle offers 2 different products, a Database Gateway for ODBC and a Database Gateway for MS SQl Server which both give you the opportunity to define a database link to a MS SQL Server and to integrate it into the Oracle database.
More details can be found on the My Oracle Support portal (support.oracle.com), then check out the Gateway Master Note:
Master Note for Oracle Gateway Products (Doc ID 1083703.1)
The note contains links to other content which gives you an overview about the options you have to connect to a foreign database:
Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
and it also explains the functional and licensing differences of the Database Gateway for ODBC and the other gateways:
Document 252364.1 Functional Differences Between Generic Connectivity and Database Gateways
Document 232482.1 Gateway and Generic Connectivity Licensing Considerations
Once you decided which gateway you want to use you can also find the configuration notes linked to the Gateway Master Note.
- Klaus
Edited by: kgronau on Dec 11, 2012 9:53 AM
Maybe just some words about the versions:
Your Oracle database release 10.2.0.4 is certified with the currently latest Oracle database Gateway release 11.2.0.3 (DG4ODBC and also DG4MSQL). When you decide to use DG4MSQL, then the 11.2.0.3 release is also certified for SQL Server 2008, when you plan to use DG4ODBC you need to find a suitable 3rd party ODBC driver that is certified with MS SQl Server 2008.

Similar Messages

  • SQL Server 2008R2 64bit to Oracle 8g issue

    Hi,
    I need to connect to an Oracle 8g server from SQL Server 2008 R2 64 bit.
    I installed [Oracle Data Access Components (ODAC) 11.2.0.2.1|http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html ], then installed the 8g client tools.
    I can confirm 8g client tools can connect to the database by itself, but I am unable to create a linked server in sql server. I am not sure what dll (8g or 11g) it is using to connect. I receive the following area when I hit create linked server:
    Cannot create an instance of OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLEDBDEV" . (Microsoft SQL Server, Error: 7302)
    Where can I set which DLL it uses? Should I be using the dll for 8 or 11?
    Any help would be much appreciated.
    Regards

    Supported versions on 2008R2 are 10205, 11201, and 11020. 11g shouln't allow a connection to 8i, but I think 10.2 should.
    What you'll want to do is
    1) remove 11.2
    2) remove 8i
    3) install 10204 64 bit client
    4) patch it to 10205.
    Hope it helps,
    Greg

  • How to call a sql server stored procedure from oracle

    Hi all,
    Please anybody tell me how to call a sql server stored procedure from oracle.
    I've made an hsodbc connection and i can do insert, update, fetch data in sql server from oracle. But calling SP gives error. when I tried an SP at oracle that has line like
    "dbo"."CreateReceipt"@hsa
    where CreateReceipt is the SP of sql server and hsa is the DSN, it gives the error that "dbo"."CreateReceipt" should be declared.
    my database version is 10g
    Please help me how can i call it... I need to pass some parameters too to the SP
    thanking you

    hi,
    thank you for the response.
    when i call the sp using DBMS_HS_PASSTHROUGH, without parameters it works successfully, but with parameters it gives the following error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC SQL Server Driver]Invalid parameter number[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index (SQL State: S1093; SQL Code: 0)
    my code is,
    declare
    c INTEGER;
    nr INTEGER;
    begin
    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@hsa;
    DBMS_HS_PASSTHROUGH.PARSE@hsa(c, 'Create_Receipt(?,?)');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,1,'abc');
    DBMS_HS_PASSTHROUGH.BIND_VARIABLE@hsa(c,2,'xyz');
    nr:=DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@hsa(c);
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@hsa(c);
    end;
    Create_Receipt is the sp which requires two parameters.
    please give me a solution
    thanking you
    sreejith

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

  • How to migrate MS SQL Server OLAP data to Oracle 10g OLAP

    Hi,
    Anyone has any idea on whether migration workbench can migrate my MS SQL Server OLAP data to Oracle 10g (with OLAP option) ?
    Best Regards,
    Ian Ho

    Ian,
    What exactly do you mean by SQL*Server OLAP ? Is it just a 'normal' SQL*Server database which is used for an OLAP application ?
    The migration workbench migrates schema objects, triggers, and stored procedures and is not concerned with the application that uses those objects.
    And the same with the Oracle OLAP database. Once the data etc has been moved into the database you can then use it for whichever application you want.
    If you have concerns apart from moving the actual data then please give us more details.
    Regards,
    Mike

  • Ways to import an Ms SQL Server 2005 tabel to Oracle 10g

    Hi all
    How can I import an ms sql server 2005 table to Oracel 10g?

    Depends on what's you plan to do. You can try
    SQL Developer Migration Workbench
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    Or use the ODBC method you were trying.

  • Connecting to SQL Server and MYSQL from a Java stored procedure

    hope someone can help with this. i'm trying to connect to different databases (My SQL, SQL Server) from a java stored procedure. when invoking from within an oracle 9i database, i get the java exception error -
    "Cannot connect to MySQL server on 135.177.196.75:3306. Is there a MySQL server running on the machine/port you are trying to connect to?java.security.AccessControlException)".
    this store procedure works fine when invoked from outside of oracle. any replies would be greatly appreciated. thanks!

    the correct drivers have been loaded. it works when called from outside of oracle. only when invoking from within oracle do we get the error message "Cannot connect to MySQL server on 135.177.196.75:3306. Is there a MySQL server running on the machine/port you are trying to connect to?(java.security.AccessControlException)". it sounds like a permissions/security/configuration issue - oracle is not allowing access to the machine/port for the MySQL or SQL Server database. appreciate the responses so far.

  • IDM 7.1 SP5-Windows Server 2008R2(64Bit)/Microsoft Sql Server 2008R2(64Bit)

    Hi there,
    Running the above configuration.
    I also have 32 bit java installed (1.6)  When I go to create and test a dispatcher I get:
    Running MxDispatcher_d1.
    [08.09.2011 12:44:39-944] - Initialized log for com.sap.idm.ic.services.api.MXMC
    Api. Log level is Debug
    MxDispatcher version: 7.10.5.2 Built: 21.07.2011 12:18:56 (c) Copyright 2008 SAP
    AG. All rights reserved.
    Java VM: Sun Microsystems Inc.   Version: 1.6.0_27
    Java home: C:\Program Files (x86)\Java\jre6
    Java lib/ext: C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
    CLASSPATH: C:\sap\idm\Java\mxdispatcher.jar;C:\sap\idm\Java\mxmcapi.jar;C:\sqljdbc\sqljdbc.jar;
    [08.09.2011 12:44:39-969] - MxDispatcher:Reading prop files
    [08.09.2011 12:44:39-970] - MxDispatcher:Loading driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    [08.09.2011 12:44:39-974] - Can not load driver:'com.microsoft.jdbc.sqlserver.SQLServerDriver'
    [08.09.2011 12:44:39-974] - Can not load driver:'com.microsoft.jdbc.sqlserver.SQLServerDriver'
    C:\sqljdbc>
    Any ideas?  C:\sqjjdbc is where the sqljdbc jar is located.
    I am using the JDBC jar from:
    http://www.microsoft.com/download/en/details.aspx?id=21599
    Any help would be appreciated.
    Thanks,
    Matt

    Matt,
    Could you please send me more info? I'm facing the same problem. I've installed SQL server 2008, java 1.6, JDBC 2.0.
    Greetz,
    Patrick

  • 32bit client on windows 2003 server R2 64bit running oracle 10g release 2

    Hello,
    could you please help me ?
    I have a windows 2003 r2 sp2 64 bit server on witch oracle 10g release 2 64 bit is installed.
    So far no issue.
    I need to have a 32bit client installed on the same server to be able to run some applications on the server, but my applications won't start telling me that TNS could not resolve the connect identifier specified.
    my tnsnames.ora seem correct both in the db_1\network\admin directory and in client_1db_1\network\admin directory.
    both Sqlplus(client_1 10.2.0.1 and db_1 10.2.0.3) return a connection.
    I don't know where the problem could be coming from
    Thanks a lot
    Fred

    897790 wrote:
    Hello,
    could you please help me ?
    I have a windows 2003 r2 sp2 64 bit server on witch oracle 10g release 2 64 bit is installed.
    So far no issue.
    I need to have a 32bit client installed on the same server to be able to run some applications on the server, but my applications won't start telling me that TNS could not resolve the connect identifier specified.
    my tnsnames.ora seem correct both in the db_1\network\admin directory and in client_1db_1\network\admin directory.
    both Sqlplus(client_1 10.2.0.1 and db_1 10.2.0.3) return a connection.
    I don't know where the problem could be coming from
    Thanks a lot
    Fred
    THANKS! for NOT supplying actual error code & message
    ORA-12154?
    I don't know what you have.
    I don't know what you do.
    I don't know what you see.
    It is really, Really, REALLY difficult to fix a problem that can not be seen.
    use COPY & PASTE so we can see what you do & how Oracle responds.

  • How can i run Following SQL Server Script in to Oracle 10g

    I m new in Oracle...
    Create Procedure Insert_profilebasicdetail
    @isubprofileid as int,
    @Copyisubprofileid as int,
    @itranno as int,
    As
    Begin
    Declare @IncKeyId as int
    Declare @tempkeyId as int
    set @IncKeyId=(select isNull(Max(ikeyId),0)as MaxKeyId from profilebasicdetail)
    Declare TempInsert cursor for select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
    from profilebasicdetail where isubprofileid=@Copyisubprofileid and itranno=@itranno
    open TempInsert
    fetch from TempInsert into @tempkeyId
    while @@fetch_Status=0
    Begin
    set @IncKeyId = @IncKeyId + 1
    Insert into profilebasicdetail
    (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
    values(select @IncKeyId,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,'1',
    iyear,@isubprofileid from profilebasicdetail where ikeyId=@tempkeyId)
    fetch next from TempInsert into @tempkeyId
    End
    End
    Regards,
    Ajay

    YOu want to migrate your MS sql server procedure to Oracle procedure
    Before running procedure please set the values of tempkeyId_v variable
    Try this
    Create or replace Procedure Insert_profilebasicdetail( isubprofileid_v  number, Copyisubprofileid_v number, itranno_v number )
    As
         IncKeyId_v  profilebasicdetail.ikeyid%type;
         tempkeyId_v profilebasicdetail.ikeyid%type;
    begin
          select nvl((select Max(ikeyId) as MaxKeyId from profilebasicdetail),0) into IncKeyId_v
          from dual ;
         for i in (select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
                from profilebasicdetail
                where isubprofileid=Copyisubprofileid_v and itranno=itranno_v)
         loop
              IncKeyId_v = IncKeyId_v + 1;
              Insert into profilebasicdetail
                   (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
                   values(select IncKeyId_v,i.iprofileid,i.iquestionid,i.vquestionans,i.cstatusindi,i.dmodifyon,i.imodifyby,'1',
                        i.iyear,isubprofileid_v from profilebasicdetail where ikeyId=tempkeyId_v);
         end loop
    End;
    / Regards
    Singh
    Create or replace Procedure Insert_profilebasicdetail( isubprofileid_v  number, Copyisubprofileid_v number, itranno_v number )
    As
         IncKeyId_v  profilebasicdetail.ikeyid%type;
         tempkeyId_v profilebasicdetail.ikeyid%type;
    begin
          select nvl((select Max(ikeyId) as MaxKeyId from profilebasicdetail),0) into IncKeyId_v
          from dual ;
         for i in (select ikeyId--,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,iyear
                from profilebasicdetail
                where isubprofileid=Copyisubprofileid_v and itranno=itranno_v)
         loop
              IncKeyId_v = IncKeyId_v + 1;
              Insert into profilebasicdetail
                   (ikeyid,iprofileid,iquestionid,vquestionans,cstatusindi,dmodifyon,imodifyby,itranno,iyear,isubprofileid)
                   values(select IncKeyId_v,i.iprofileid,i.iquestionid,i.vquestionans,i.cstatusindi,i.dmodifyon,i.imodifyby,'1',
                        i.iyear,isubprofileid_v from profilebasicdetail where ikeyId=tempkeyId_v);
         end loop
    End;
    / Regards
    Singh

  • SQL Server 2000 Migration to Oracl 10g

    Hi,
    We are plannig to migrate the SQL Server 2000 to Oracle 10g. I have following queries.
    1. Does the Oracle SQL Developer tool is the one that to be used? (Previously OWMB used to support SQL Server 2000, but it is no longer supporting.)
    2. When I tried to migrate using Oracle SQL Developer tool, there were some errors for @@spid and the tool did go further?
    3. In OMWB it used to provide the details like how many DB objects migrated successfully and how many failed, how to generate similar reports in Oracle SQL Developer?
    Please let me know.
    Thanks

    Make sure you use
    Oracle SQL Developer Migration Workbench
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html

  • SQL Server 2005 Migration to Oracle 10g

    Does anyone have any idea if a Migration Workbench beta plug-in exists for SQL Server 2005 to Oracle 10g. I have a production system waiting to be moved over to Oracle and the users are getting impatient.
    If there is nothing yet, does anyone have an alternate procedure to migrate a small schema (20 tables + 10 stored procedures) with a large amount of data?

    Probably late in the day for this but
    The workbench cannot handle SS2K5 directly at the moment. However as long as no new SS2K5 functionality has been used with a few tweaks this can be achieved.
    1. Firstly use the SS2K offline capture scripts to build the directories for the database(s) you want to capture.
    2 Secondly edit
    (a) SS2K_SYSLOGINS.dat and take out long SS2K5 user records
    (b) SS2K_SYSINDEXES.dat change FIRST ( forth column) to a value (say hex 1).
    (c) SS2K_SYSUSERS.dat change ROLES (sixth column) to a value (say hex 1).
    This should now load into the workbench. If it does not check the error.log file in <OMWB HOME>\log.

  • SQL Server 2008R2 memory issues

    Hi Experts.
    I have SQL Server 2008R2 installation,We allocated 102400MB(100GB) Memory   out of 128GB Installed.
    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    Please advise next step or recommendations if any 
    OS :Windows 2008R2 64bit.
    DB:SQL Server 2008R2 64bit.
    Thanks in advance.
    Regards,

    But Task manager is showing  SQL Servr using 104 GB.Please some body let us know why SQL Server uisng more memory more than we allocated.
    You should not refer to task manager for SQL server memory consumption. Its windows tool it always wont show you correct value.
    Please use below query to SQL Server memory utilization
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB
    from sys. dm_os_process_memory
    100 G limit is put on SQL Server buffer pool. SQL Server can still use memory more than 100 G because few memory allocations for objects like, XML,SQLCLR, Linked server, backup , database mail etc are allocated directly by windows and sys.dm_os_process_memory
    does not tracks it. So just relax this is normal
    Task manager only show Working set.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Conn problem SQl Server 64 Bit to Oracle 32 bit using SSIS packages

    Hi,
    I am facing the problem with connection SQL(64 bit) to Oracle(32 bit).
    Please give me the solution/guide in right direction.
    Environment is
    S1-----> DBServer : 64 bit Windows Server 2003 Enterprise Edition, 64 Bit SQl Server EE, 64 Bit Oracle 10g Client
    S2----->.AppServer :32 bit Windows Server 2003 Enterprise Edition, IIS, 32 Bit Oracle 10g Client & Server DB
    I have doubt like....
    1.Can i install 32 bit oracle also at (S1) 64 bit SQL Server(SSIS)
    or only 64 bit oracle?
    2.Running command line for SSIS packages at S1
    i am unable to connect S1---->S2 using SSIS packages?
    How can i solve this problem? pl give steps for going right direction.
    Thanks
    JOHN
    [email protected]

    Fabio D'Alfonso wrote:
    Hi,
    I was setting up VMware vCenter 4.1 (probably the only well known and largely used product with this lethal mix) and needed to setup an ODBC access to Oracle on the 32 bit side of Windows to setup the Update Manager server component, which is still a 32 bit application)
    The problem with Oracle configuration is that in no way I found a 32 bit ODBC registered driver after the setup (of the 32 bit client and the 64 database server). I tried some third party driver for oracle (e.g. easysoft).They registered in the 32 bit ODBC manager but they never got a successful connection.
    Also if this vCenter requirement is questionable (more questionable considering that the setup of this 32 component is not allowed on a 32 separate OS, not because it is separate but because is a 32 bit OS) I would get it working.
    Could suggest a way to get this working?
    Thanks
    Fabio D'AlfonsoWhen you install the Oracle client software on Windows (which is necessary to support ODBC, as the Oracle ODBC driver sits on top of the native client software) the ODBC driver is NOT installed by default. You have to go back and do a "custom" install and select the "Windows components".

  • Connecting to SQL Server from Solaris using Perl & Oracle.

    Hey All,
    Using the DBI.pm provided by the default Perl package that comes integrated with Oracle server, I am being able to connect to the Oracle database through Perl.
    But is there a way I can connect to SQL Server through Perl using any package provided by Oracle like ODBC or something else (on Solaris)
    I am using following version of Oracle server on Solaris 10
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    TIA
    Parag

    The problem is I cannot install any third party package but I found something. Have a look at this:
    bash-3.00$ pwd
    /opt/oracle/product/10.2.0.4.0/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/Win32
    bash-3.00$ ls -l
    total 10
    -rwxr-xr-x 1 oracle dba 4532 Jul 7 2004 DBIODBC.pm
    bash-3.00$
    Will explore more and keep you all posted.
    Cheers,
    Parag

Maybe you are looking for

  • How to use a property in a formula?

    Hello I want to use this formula to calculate an account: [F_Fi.H1].[As07]/StrToValue([TTime.H1].CurrentMember.properties("NBMONTH")),SOLVEORDER=200 When processing the dimension, I get an error : [F_Fi.H1].[H1].[#SMM1] an mdx expression was expected

  • 0CUSTOMER_TEXT - problem with the cyrillic (ukrainian) characters

    Hello, Within the framework of Ukrain deployment, I try to extract customer texts (0CUSTOMER_TEXT) and I meet a problem with the cyrillic (ukrainian) characters. All of them are replaced by a '#' (into the table /BI0/TCUSTOMER & into the PSA too). Fr

  • Query result tab is not showing up

    I accidentally hit the x and its gone. How do I get it back so my tables show? I am pulling my hair out trying to figure this out.

  • Sending mail in Solaris OS

    I have used javax.mail package for sending mail options in a web application on Windows.Can I use the same in Solaris ?? Thanks in advance!!

  • Help! Order of pins on USB/1394 connectors

    Hooking up my USB and FireWire connections on my MSI Neo2 Platinum mobo and trying to figure out the order in which they connect. Is it this way? 2 3 6 7 10 1 4 5 8 9 or this way? 2 4 6 8 10 1 3 5 7 9 Or if these are BOTH wrong please advise. =)