Oracle access tables in SQLServer through Transparent Gateway

HI,
I want to access tables in SQLServer2000 through Oracle Transparent Gateway, but i could not get the resqult when I excute sql " select * from mytable@tg4msql".
everthing seems all right and when i use " *tnsping tg4msql* ", it also return OK:
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
+(HOST = 192.168.255.10)(PORT = 1521))) (CONNECT_DATA = (SID=tg4msql)) (HS= OK))+
OK (20 毫秒)
but when i excute sql like " select * from mytable@tg4msql ", it does't return anything, just keeps quering till I kill my plsql.
it seems oracle tries to connect to SQLServer through database link but fail.
And i check Transparent Gateway debug log : ORACLE_HOME\tg4msql\trace\tg4msql_agt_964.trc,
the log stops when it gets the logon name.
thanks for answers~
this is Transparent Gateway debug log:
Heterogeneous Agent Release
+10.2.0.1.0+
+(0) hoagprd (2): ; hoagprd Entered.+
+(0) HOACONN.C (244): ; [Transparent gateway for MSSQL] version: 4.6.1.0.0070+
+(0) HOACONN.C (295): ; Class version: 200+
+(0) hoagprd (2): ; hoagprd Exited with retcode = 0.+
+(0) hoainit (3): ; hoainit Entered.+
+(0) (0): ; connect string is: defTdpName=tg4msql;SYNTAX=(ORACLE8_HOA,+
+(0) BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",+
+(0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-+
+(0) tasource name='tg4msql' type='MSSQLODBC'+
+(0) connect='HSWINRUN2.tg4msql'><driverProperties/></datasource></datasour-+
+(0) ces><remoteMachines/><environment><optimizer noFlattener='true'/><misc+
+(0) year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor+
+(0) parserDepth='2000' tokenSize='1000' noInsertParameterization='true'+
+(0) noThreadedReadAhead='true'/><debug+
+(0) generalTrace='true'/></environment></binding></navobj>+
+(0) ORACLE SQL SERVER GATEWAY Log File Started at 2010-10-20T19:55:42+
+(0) hoainit (3): ; hoainit Exited with retcode = 0.+
+(0) hoalgon (7): ; hoalgon Entered. name = myuser.+

I checked the active sessions, and found a session was creating databse link, but it didn't stop until i kill it.
STATUS EVENT STATE
ACTIVE HS message to agent WAITING
I have installed the transparent gateway and SQLServer in the same computer.
maybe something wrong happened when transparent gateway connect to the SQLServer. But i don't know how to check it.

Similar Messages

  • Error while connecting oracle11g to sql server through transparent gateway

    Hello
    i'm facing this errors when i try to connect oracle 11g to sql server through transparent gateway:
    http://www.freeimagehosting.net/newuploads/d4454.jpg
    the directory for my db is : C:\oracle\product\11.1.0\db1
    and for the gateway: C:\oracle\product\11.1.0\dg4msql
    the configurations i used:
    gateway :
    tnsnames.ora:
    dg4msql =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    listener.ora:
    GATELIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1522))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = dg4msql)
    (SID_NAME = dg4msql)
    (ORACLE_HOME = C:\oracle\product\11.1.0\dg4msql)
    and for the oracle database :
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
    tnsnames.ora:
    DB1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db1)
    gateway =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
    (CONNECT_DATA=(SID=dg4msql)
    (HS=OK)
    thanks :)
    Edited by: 903043 on Dec 18, 2011 6:18 AM

    Did you go through the various steps in the doc?
    There is a gateway specific forum below;
    Heterogeneous Connectivity
    Cheers
    David

  • Access data from SqlServer through Visual Composer.....?

    Hi Gurus,
    I could able to connect SqlServer database from Visual Composer. After that, how can I access table data from sqlserver database?
    Thanks in advance....
    Ravindra.

    Ravindra,
    Here is the work around to do this. You will need to create a New System.  In the Portal go to System Administration -> System Configuration -> System Landscape.  Create a New System from PAR.  Select com.sap.portal.systems.BIUDI, click Next.  Select SAP_BI_JDBC and enter all the information that you would normally use to connect to a SQL DB using JDBC.  You can then in the VC run SQL against the tables.  Open VC, and Navigate to the iView level and go to the toolbar and Select BI -> SQL Editor.  It is pretty self-explanatory from there.
    Regards,
    Peter

  • COPY command with Transparent Gateway

    We have tried to use copy command to copy the data from AS/400 database (tns name as AS400) to Oracle database (Data2) in NT thru Transparent Gateway. The following works using INSERT statement:-
    INSERT INTO EMP select * from scott.emp@as400
    But when we use COPY command it returns:
    COPY FROM scott/tiger@as400
    INSERT EMP
    USING select * from scott.emp@as400
    Error:ORA-03113 end-of-file on communication channel.
    When we use the copy command to copy from Oracle back to AS400 to Transparent Gateway. It does not work and return
    "Oracle SQL*Plus:SQLPLUSW.exe - Application Error The instruction at "0x63223160" referenced memory at "0x77f64e1f" The memory could not be written"
    null

    Other than those problems, do you really want to use COPY? It takes the data on a network trip to SQL*Plus and then to the destination server. Maybe CREATE AS SELECT will be more efficient.
    - CJ

  • I am trying to have access tables of the Sql Server through the Oracle

    I am trying to have access tables of the Sql Server through the Oracle and this being occurred the error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    I created the ODBC with name HSMSQL.
    I made all the configurations in the archives
    tnsnames.ora:
    HSMSQL=
    (DESCRIPTION=
    (ADDRESS= (PROTOCOL = tcp)(HOST = wsus)(PORT = 1521))
    (CONNECT_DATA =
    (SID = HSMSQL)
    (HS = OK)
    listener.ora:
    (SID_DESC = (SID_NAME=HSMSQL)
    (ORACLE_HOME= C:\oracle\ora92)
    (PROGRAM =hsodbc)
    initHS_SID.ora:
    HS_FDS_CONNECT_INFO = HSMSQL
    HS_FDS_TRACE_LEVEL = OFF
    -- Create database link
    create database link HSMSQL.US.ORACLE.COM
    connect to TESTE identified by TESTE2
    using 'HSMSQL';
    But when I execute query the error occurs:
    Select * from TabTeste@HSMSQL
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
    Please set it in init <orasid>.ora file.
    ORA-02063: preceding 2 lines from HSMSQL
    Please they help me, thanks, Paulo.

    Hi,
    It seems that your configuration is Ok. By the way, the workaround for this error is:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for ODBC][H001] The environment variable <HS_FDS_CONNECT_INFO> is not set.
    * Set HS_FDS_CONNECT_INFO in the hs{sid}init.ora file to the data source name.
    Example: HS_FDS_CONNECT_INFO = <ODBC DataSource Name>
    * Make sure the hs{sid}init.ora file exists in the ORACLE_HOME/hs/admin directory and has the same name as the SID in the LISTENER.ORA.
    Example: If SID=hsodbc in the listener.ora file, then the hs{sid}init.ora file would be named ORACLE_HOME/hs/admin/inithsodbc.ora
    For more information see if this [url http://forums.oracle.com/forums/thread.jspa?forumID=61&threadID=576975]thread can help you.
    Cheers

  • Opening an Access table in Oracle through ODBC

    Hi all,
    Is it possible to open a linked table (Access or similar, or any other ODBC accessible table), similar to how one can make an ODBC table accessible as a linked table within an Access database.
    If not, is there an easy method to download an ODBC table into an Oracle table, other than through programming, i.e VB not SQL.
    Thanks in advance.
    David

    Any luck? I want to do the same thing. I need to pull info out of an Access database and put it in Oracle and do not want to do a flat file transfer. I looked at the Gateways mentioned in the first response but, have not found one for Access.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Andrews:
    Hi all,
    Is it possible to open a linked table (Access or similar, or any other ODBC accessible table), similar to how one can make an ODBC table accessible as a linked table within an Access database.
    If not, is there an easy method to download an ODBC table into an Oracle table, other than through programming, i.e VB not SQL.
    Thanks in advance.
    David<HR></BLOCKQUOTE>
    null

  • Oracle 9.2.0.1.0 transparent sqlserver gateway

    Hi!
    I have a sqlserver 2000 running. I also have a oracle 9.2 server with
    windows 2003 running.
    I installed after oracle enterprise edition setup the oracle gateway services for sqlserver on my oracle server and made some changes in the *.ora files.
    Then I made some changes in the different oracle ora files.
    That was all I have done.
    My problem:
    in the oracle enterprise console I can add my sqlserver database. But when I
    enter my user and password I can not connect to my sqlserver database.
    I also started the OracleOraHome92TNSListener new.
    what is my problem?
    In tg4msql_agt_3352.trc I saw the following error message:
    heterogenous agent release
    9.2.0.1.0
    HS Agent diagnosed error on initial communication, probable cause is an error in network administration.
    network error 2: NCR-00002:
    here are my files:
    inittg4msql.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Transparent Gateway for SQL Server
    # HS init parameters
    #HS_FDS_CONNECT_INFO="SERVER=dbserver;DATABASE=navision"
    HS_FDS_CONNECT_INFO="192.168.200.247.navision"
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    listener.ora
    # LISTENER.ORA Network Configuration File: E:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oratest)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = dwdb.world)
    (ORACLE_HOME = E:\oracle\ora92)
    (SID_NAME = dwdb)
    (SID_DESC =
    (SID_NAME = tg4msql)
    (ORACLE_HOME = E:\oracle\ora92)
    (PROGRAM = tg4msql)
    sqlnet.ora
    # SQLNET.ORA Network Configuration File: E:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    #NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    tnsnames.ora
    # TNSNAMES.ORA Network Configuration File: E:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oratest)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    DWDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oratest)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dwdb.world)
    tg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oratest)(PORT = 1521))
    (CONNECT_DATA = (SID = tg4msql))
    (HS = OK)

    you need to create the DATABASE LINK.
    Opne SQL*Plus and connect as system user;
    then create the database link to the SQL Server like:
    create database link mssql connect to "sa" identified by " " using '<the tns alias of the gateway you specified in tnsnames.ora>';
    Pay attention; the db link uses a blanc password for the SQL Server user sa. If your user has a password; then add the existing password between the double quotes.
    Now to fetch some records, specify the select:
    select * from all_catalog@mssql;

  • Built in Function to Populate an access table from an Oracle Table through VB 6.0

    Dear all,
    Is there any built in function in VB 6.0 to populate an access table directly from an oracle table or SQL Server(Assume Both has the same columns & data type).
    (Just like the DoCmd command which can be used to populate an excel sheet directly from an access table).
    Please help.
    Regards
    Sibby.

    Sibby,
    There is no "built-in" code in VB that I am aware of. However, you could use this code which I wrote for SQL Server. For Oracle, you would have to change to the appropriate table to get all the table names. You can filter by table name to get just your tables like I did below (My_).
    '* Now select all the files and add to access.
    sSQL = "SELECT name, id FROM sysobjects WHERE xtype = 'U' AND SUBSTRING(name, 1, 3) = 'My_' ORDER BY name"
    Set rstTemp = OpenRdSetView(sSQL:=sSQL, adoConnection:=adoConnection)
    On Error GoTo TableExistError
    '* Loop through all my database tables and copy to the Access database.
    With rstTemp
    Do While Not .EOF
    '* Copy this to the Access backup database.
    sTableName = .Fields("Name").Value
    '* Select all records from the SQL Server table and copy to the local Access database.
    sSQL = "SELECT * INTO " & sTableName & " FROM "
    sSQL = sSQL & "[odbc;dsn=" & sDSN & ";UID=" & sUID & ";pwd=" & spwd & ";]." & sTableName
    adoBackupConnection.Execute sSQL, , adExecuteNoRecords
    '* Go to next table.
    .MoveNext
    Loop
    End With

  • Update Yes/No field in access table through oracle procedure

    Hi,
    How to update Yes/No field in access table through oracle procedure. all other fields like AutoNumber, Text I can update it. Yes/No field how to update? Please, any one can help me?
    Thanks and Regards,
    Sudha.

    Sudha Teki wrote:
    select "fldPost" from tblPHd@ODBCLNKNot quite sure what you mean, but the way you select the column would indicate a case sensitive column name
    Look at this example
    SQL> create table t
      2  ("this" varchar2(10))
      3  /
    Table created.
    SQL> insert into t values ('hello')
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    this
    hello
    SQL> select this
      2    from t
      3  /
    select this
    ERROR at line 1:
    ORA-00904: "THIS": invalid identifier
    SQL> select "this"
      2    from t
      3  /
    this
    helloIs your column name also case sensitive?

  • Accessing SQL Server from ORACLE using Transparent Gateway

    So I had downloaded the gateway installer and was following the guide here to set up the Transparent Gateway for SQL Server: http://www.orafusion.com/art_orahs.htm
    After I had created the database link, I was prompted the following error when trying to do a simple select statement from the SQL Server DB:
    >
    ORA-12154: TNS:could not resolve service name
    12154. 00000 - "TNS:could not resolve the connect identifier specified"
    *Cause:    A connection to a database or other service was requested using
    a connect identifier, and the connect identifier specified could not
    be resolved into a connect descriptor using one of the naming methods
    configured. For example, if the type of connect identifier used was a
    net service name then the net service name could not be found in a
    naming method repository, or the repository could not be
    located or reached.
    *Action:  
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the
    NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper
    directory and is accessible.
    - Check that the net service name used as the connect identifier
    exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    file. Look for unmatched parentheses or stray characters. Errors
    in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the
    NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is
    accessible.
    - Verify that the net service name or database name used as the
    connect identifier is configured in the directory.
    - Verify that the default context being used is correct by
    specifying a fully qualified net service name or a full LDAP DN
    as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the
    NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    (SQLNET.ORA).
    - Make sure the host, port and service name specified
    are correct.
    - Try enclosing the connect identifier in quote marks.
    Error at Line: 3 Column: 27
    >
    Here are my configuration files:
    initMSQL.ora
    >
    HS_FDS_CONNECT_INFO=webdatasvr:1433.InfoWeb
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    >
    listener.ora
    >
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC=
    (GLOBAL_DBNAME=UGCMAC)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME=UGCMAC)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = MSQL)
    (ORACLE_HOME = C:\oracle\product\11.2.0\tg_1)
    (PROGRAM = dg4msql)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS LIST=
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1524))
    >
    tnsname.ora
    >
    UGCMAC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = UGCMAC)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MSQL=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1524))
    (CONNECT_DATA =
    (SID = MSQL)
    (HS=OK)
    >
    Can anyone assist me? thanks!

    Hi kgronau,
    >
    After changing a listener.ora file you need to STOP and START the listener to get the changes loaded. It looks like your listener is not serving the 1524 port which could be related to the fact that you didn't stop/start the listener after you've edited the listener.ora file.
    ... But as stated earlier - please do not use a 10.2 listener to start an 11g gateway. Instead configure the listener of the gateway home.
    >
    I did restart my listener under services.msc whenever I make the changes but there are no effect. Please also note that I can only find "OracleOraDb10g_home1TNSListener" under my services.msc. There is no 11.2 Listener. I did install the gateway and the installation was successful as far as I can tell. But perhaps because there's no 11.2 Listerner under my services.msc, could that mean it was a bad installation?
    >
    Next point is the tnsping you've used is 11.2. You need to make sure that you use the tnsping of the Oracle Database home as the database initiates the gateway connection so the database home tnsnames,ora needs the tns entry for the gateway.
    >
    My current PATH environment variables setting is as follow: C:\oracle\product\11.2.0\tg_1\bin;C:\oracle\product\10.2.0\db_1\bin; So perhaps, I just need to ensure the 10.2 ORACE home is the first?
    >
    As a final tip: There are so many web sites explaining how to configure DG4ODBC - many of them are faulty. If you need a reliable configuration, please have a look at "My Oracle Support" => How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install     [Document 466225.1]     )
    >
    Is there a link?
    Edited by: omnri on 21-Jul-2011 23:59

  • Are the Oracle Transparent Gateways SAP approved

    Gentlemen: Thanks in advance for your reply. I am new on this gateway world and I am trying to find the best solution for us.
    Situation ... DB Migration of SAP 4.5B from MSSQL to Oracle8 in Sun Solaris (No problem with this).
    We run a VB application that connects to SAP using SAPComm to read from SAP and update, asl well.
    Problem: We will do the migration but the developer of the application in VB may not be open to change their coding, and we found the option of replicating db tables from Oracle to MSSQL, once we migrate, with the Oracle Gateway, which produce something transparent to the VB application.
    Questions:
    1. Does SAP approve this kind of accesses/replications to their DBs without us affecting our license agreement with them? I should ask this question to SAP, but if you know already, that will defenitely help?
    2. I understand this tool (Oracle Transparent Gateway) is available as of Oracle9i. Our migrated SAP system will be running on Oracle8, but it is my understanding it does not matter the version of Oracle we are running our db, because what we procure is the Oracle9i to be installed separately to interact with both SAP (Oracle8) and MSSQL. Is that right? Could I build that scenario? If yes, how much is for the Oracle9i license. Should acquire it through SAP (I guess not)?
    Thanks,
    Juan-Carlos

    You can use Oracle Streams to replicate from Oracle to SQL Server. This is a feature of Oracle 9.2.
    This feature uses the Oracle Transparent Gateway for SQL Server to communicate between Oracle and SQL Server.
    This is licensed separately from the database. Oracle 8 can communicate with Oracle 9i using DB links.
    You can purchase a license for the each of these products at http://oraclestore.oracle.com/

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • Create a view on Oracle that points to a table on Sqlserver

    Need to make the contents of a table in Sqlserver visible to Oracle users through a view. Any idea how this could be done?
    I have read about Open Client Adaptor for ODBC, but the document keeps stressing that this can be done through a SqlForms, BUT I need a view.

    Oracle has something called heterogeneous services which essentially allows you to set up a database link using ODBC. You could then create your view based on this database link.
    The process on how to set it up is somewhat lengthy to write about in detail. If you have access to Oracle's Metalink look for Doc ID's 114820.1 and 115098.1, these should help you get it set up and the examples in the documents use SQL Server.
    Hope this helps.

  • Oracle 9i on LINUX Transparent Gateway for SQL Server

    Does anybody know if there is a Transparent Gateway available for Oracle 9i on LINUX to connect to SQL Server? I have run the installer and cannot seem to find the install options for any Transparent Gateways. I am familiar with their location in the universal installer as I have installed the Oracle/SQL Server Transparent Gateway with Oracle in WinNT. Perhaps Transparent Gateways for Oracle/LINUX are not available?
    Thanks in advance.

    I have the same issue - we want to upgrade our 9.2 to 10g Linux, and need to maintain connectivity to some legacy sqlserver databases. I can't find any mention of tg4msql for linux. What gives? Anyone know the answer to this? thanks, michael

  • Invalid column name for Transparent Gateway for SQLServer

    I have successfully set up a transparent gateway for an MS SQLServer database 'pubs' from Oracle 910. I am able to run the following statement successfully as it returns all results without a hitch:
    select * from authors@pubs;
    pubs is the database link for the transparent gateway.
    But when I select any particular column in the select statement like:
    select city from authors@pubs;
    I get the following error:
    select city from authors@pubs
    ERROR at line 1:
    ORA-00904: invalid column name
    Can anyone help me with this?
    Thanks

    Samarjit,
    This should work. Are you using a certified configuration?
    Check our certification matrix at http://otn.oracle.com/products/gateways/pdf/certmatrix2.pdf
    Vira

Maybe you are looking for