Connect to MS SQL server from OWB on Linux platform

Hi,
I want to connect to MS SQL server through OWB, on Linux platform.
I suppose I would use JDBC driver, and Heterogeneous services. Is that possible?
I did not see anything on JDBC driver for MS SQL server for Linux platform from Oracle.
Also, I was wondering is Oracle Gateway 10g for Linux a way to connect to MSSQL server?
Any leads would be appreciated.
Thanks
Ani

Hi,
This quite an actual topic for myself, so I decided to take some time to collect some information.
Start at:
* Oracle Generic Connectivity and Oracle Transparent Gateway - http://www.oracle.com/technology/products/gateways/gateways_fov.html
You can use the free Heterogenous Services component named Generic Connectivity for connecting to SqlServer over ODBC. You will need to find (or purchase?) a third-party ODBC driver for SqlServer for Linux, e.g. from www.datadirect.com. Setting this up will allow you to define a databaselink to the SqlServer. Open Gateways implements a limited set of the oracle SQL, so you will have to find out what is possible and what not.
See also:
* How To Setup HSODBC on Linux - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=264567.1
* Generic Connectivity Available on Linux x86 with 10g - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=261726.1
You can also use the Transparent Gateway for SqlServer (HS), which is about EURO 12000 per computer(!). This gives you a full implementation of Oracle SQL and you can access the SqlServer like it was Oracle.
You can also install Microsofts JDBC drivers into Oracle's JVM, and connect through JDBC to SqlServer. This is however not supported by Oracle, but it will work. See:
* What is required for a Java Stored Procedure to connect to a SQL Server Database? - https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=276167.1
See also:
* Options for Connecting to Foreign Data Stores and Non-Oracle Databases - https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=233876.1
* JDBC Developer's Guide - http://download-west.oracle.com/docs/cd/B14117_01/java.101/b10979/overvw.htm
Good luck, Erik Ykema

Similar Messages

  • Error while connecting to SQL SERVER from OWB

    HI All,
    I got the following error while connecting to SQL SERVER from OWB(10gR2).
    1). Created DSN with (GMSCADA)
    2). tnsnames file is updated with the following information
    GMSCADA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.60.29)(PORT = 1433))
    (CONNECT_DATA =
    (SERVICE_NAME = SA)
    3). Tried to connect to SQL SERVER frm OWB
    Username: sa
    password: sa
    host: 172.16.60.29
    port: 1433
    service name: GMSCADA
    schema: sa
    I got the following error, when I click Test Connection:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from OWB_3095
    Regards,
    Kumar.

    Hi David,
    What is Gateway, How I have to setup, Please let me know.
    I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
    Can u please let me know.
    Regards,
    Kumar.

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Connect to MS Sql Server from Java Source

    Hi,
    Is there any way I could connect to ms sql server from Java source? I know I can call java source from function thats easy but what I really want is capability to connect to non-oracle(MS SQL server) from my java source and then call it from function.
    I don't know if JDBC driver for SQL server is even installed/available. Is there a way I could find it out form my IDE? I know sqlJ does compile but I have never used sqlj. help!!!
    Sinha

    You'll probably have better luck in a Java forum or a Microsoft forum.

  • Connecting to network SQL Server from SQL Developer

    Hi All,
    I am trying to connect to network SQL Server from SQLDeveloper but I am unable to connect( I am getting could not connect to SQL Server...). I have searched many sites but could not find the solution. I am giving HostName as MachineName\InstanceName and keeping the port as 1433.
    Can anyone explain how that connection string should be given.
    Thanks.

    From help with additional comments
    Host Name: Host system for the Microsoft SQL Server or Sybase Adaptive Server database.
    E.g., sybase.myCompany.org (DNS name or IP address)
    Port: TCP/IP Port on which Microsoft SQL Server or Sybase Adaptive Server will listen.
    As mentioned by others, need to know how server is configured. Common values: 1433, 5000
    Retrieve Database: Name of the Microsoft SQL Server or Sybase Adaptive Server database.
    Once the other data is correct, press this to populate list box and select which database you want associated with this connection. E.g., pixar, pubs2, etc.
    Brian Jeffries
    SQL Developer Team

  • Connecting to Windows SQL server from Unix Oracle Server

    How can I connect to Windows MS SQL server from Unix Oracle Server? What installation or package will I need?

    Two options:
    1) Do a search on "Oracle Transparent Gateways" and/or "Heterogenous Services". These are products that are designed solely to connect to other databases from Oracle.
    2) Use a type-4 JDBC driver for SQL Server, installed and running in the JVM of your Oracle server. I'm assuming your Oracle database is sufficiently recent to be java-enabled here.
    Justin

  • Connect to MS-SQL Server from a Oracle 10g running under Solaris

    Hi,
    I have the following problem. I want to access a MS-SQL server from an Oracle database (10g Enterprise licence) that is running on Solaris.
    After googling a while, the following questions arise:
    - Is it correct that the Oracle Transparant Gateway for the SQL Server is not available on Solaris platforms (but only on Windows)?
    - Is it right, that the second possibility to solve this problem is to use an SQL-Server odbc driver for Solaris and access the SQL-Server over ODBC? And: Is this feature included in the Enterprise licence?
    - If yes, which driver is good and cheap ;-)?
    - Is there any other way to solve this problem?
    Thanks
    Aron
    Message was edited by:
    user583720

    I believe the Transparenet Gateway for SQL Server is available on Solaris. The problem is that you need a Unix based ODBC driver which you will also need to pay for.
    We had this same problem and decided to run a windows based Heterogeneous Services gateway and routed through it instead of using the SQL Server transparent gateway. The Heterogenous severives gateway is NOT an add on product (as is Transparent Gateway). The drawback would be performance as I would expect the native MS SQL transparent gateway to perform better, but in our case it worked acceptably.

  • Connect to another SQL server from SAP

    Hi All,
    I want to connect SAP to another SQL server. Basically each day I need to take data from 2 tables in SAP tables to another sql server. I want this to be automated via a program in SAP.
    Please suggest me some methods to achieve this.
    I have searched the web and found that this is possiable, some transactions such as DBCO was mentioned, but it was not much helpful.
    Thanks a lot.
    Regards,
    Pankaj

    Moderator message - Cross post locked
    Rob

  • Connecting to Microsoft SQL Server from Linux

    Hi,
    I am currently trying to migrate an OBIEE deployment from Windows to Linux, I have found much information about connection to Oracle DBs but I cannot find out how to connect to a Microsoft SQL Server DB. I have my webcat and RPD transferred but see ODBC errors for all of the reports, can anyone help?
    Thanks in advance.

    I eventually solved this using UnixODBC and FreeTDS, I have yet to complete my own write-up of the solution but I found that someone else had solved the problem at more-or-less the same time and has written up the solution here:
    http://iadvise.blogspot.com/2008/02/connect-from-rhel5-to-mssqlserver.html
    If anyone finds this in the future and has questions please feel free to get in touch, I get email when this thread is updated so that should be enough. Thanks to Damon for putting me on the right track.

  • Connect to MS SQL SERVER FROM ORACLE 10G(OS- WIN XP)

    HI
    I NEED TO ACCESS MS SQL SERVER DATABASE FROM ORALCE 10G(OS -WIN XP)
    SOLUTION PLZ?
    Edited by: X7C7 on Nov 26, 2008 11:47 AM

    http://download.oracle.com/docs/cd/B19306_01/gateways.102/b14270/ch2.htm#sthref35
    HTH...

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • Connecting to MS SQL Server on UNIX/LINUX

    Hello friends,
    Is there a driver available to connect to MS SQL Server from a java application or servlet running on UNIX or Linux box?
    Is there a way to create ODBC connection to it on UNIX?
    Thank you!

    Is there a driver available to connect to MS SQL Server from a java application or servlet running on UNIX or Linux box? Quite probably. Go here to find out:
    http://industry.java.sun.com/products/jdbc/drivers
    Is there a way to create ODBC connection to it on UNIX?I've heard something about a Unix ODBC simulator, but I wouldn't bother with that. ODBC is not necessary in this situation.

  • Import from sql server to OWB

    I have a sql server source, and the target is oracle10.2. OWB 10.2. I can connect to connect to sql server from sql*plus and see the data.
    In OWB i imported the tables and created a simple mapping 1:1. It Validated and generated code successfully.
    When i deploy the mapping first time i am not getting error message but i get 6 warning messages. but when i deploy the mapping second time i am getting following error and 6 warning messages.
    Name Action Status Log
    NON_ORACLE_SS_LOCATION1 Create Error RA-02011: duplicate database link name
    SRT_I_ODBC_M Create Warning ORA-06550: line 11, column 3: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 147, column 7: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 177, column 3: PL/SQL: ORA-00942: table or view does not exist
    SRT_I_ODBC_M Create Warning ORA-06550: line 26, column 3: PL/SQL: ORA-00942: table or view does not exist
    SRT_I_ODBC_M Create Warning ORA-06550: line 34, column 3: PL/SQL: SQL Statement ignored
    SRT_I_ODBC_M Create Warning ORA-06550: line 49, column 3: PL/SQL: ORA-00942: table or view does not exist
    can i know where exactly i am going wrong?

    Henrik,
    I've found other problems where OWB adds a space between all characters returned from SQL*Server which is what is happening in your case, although it is being displayed as a square box.
    In one of these cases the problem was fixed by using the 11.2.0.2 OWB so would it be possible for you to try with that version ?
    Also, as the problem is not with the gateway itself as you can select successfully using a database link then it would be better to follow up in the OWB forum -
    Forum: Warehouse Builder
    Warehouse Builder
    as they will be able to help with the OWB side of the problem.
    Regards,
    Mike

  • How do I connect to an SQL Server Database from CR XI?

    Hello All,
    I posted previously to this forum but did not get any response. There surely must be a way to connect to SQL Server from CR XI? My problem is that I keep on getting prompted for a PW or get a message saying "Logon Failed"
    Please see my earlier post, with code sample, on Page 4 (or now 5 or 6 .....)
    "How to log on to SQL 2000 programmatically using VB6 RDC and CR XI "
    I would really appreciate a response from someone as I need to get some pressing work finished for a client.
    Thanks so much in advance
    Peter Tyler

    This shoul dbe posted to the Legacy Development forums

  • Connect to SQL Server from Oracle

    Does Oracle offer any connectivity to NON-Oracle databases such as SQL Server from within the Oracle database itself, similar to a database link ?

    Yes, it's called Heterogeneous Connectivity. Basically how it works is you set up an ODBC data source on the Oracle server
    and need to modify the tnsnames.ora and listener.ora files. Once you get it set up it works exactly like a dblink. You should be
    able to find information on it in the Oracle manuals or from Metalink. There's also a Heterogenous Connectivity forum on OTN. If
    you can't find anything let me know and I can send you some documents on how to set it up. I think the hardest part for you might
    be finding a SQL Server ODBC driver for HP-UX.

Maybe you are looking for

  • Mail crashes when I try to open it

    On Saturday Mail crashed, and unless I hold down the SHIFT key, it always crashes when I try to open it. When I hold the SHIFT key down, it opens, but crashes as soon as I click a folder Here is a copy of the error log: Date/Time: 2006-10-02 18:44:16

  • How do i save my finished project as a avi file?

    I've finished my movie, and im ready to put it on dvd, youtube, etc, but how do i save it as a avi file?

  • IMAP messages do not appear in viewer

    I am having a problem with two out of three IMAP mail accounts from a private server not displaying new IMAP messages in the viewer. The counter shows that the messages have arrived, and I can find and read them via the iPhone or webmail. If I quit m

  • Opening documents with Show All

    In the Open dialog selecting Show all - will inconsistently open some doc's but not others. If I specify the format ( example= RTF or Word Mac 98 ) most times it will open it. All these documents work fine with every other application. What gives? Is

  • Wallet file question

    Hi all Oracle 10.2.0.5 wallet We are using wallet file and in that "Certificate(Ready) expires at Sep 2012. I could also find the trusted certificates added which expires at Oct 2030. Is this means I have the certificates till 2030 or I need to get a