Heterogeneous connection

How to create database link between oracle database and My SQL Database

Hi,
You can use the Database Gateway for ODBC (DG4ODBC) to cretae a database link from Oracle to MySQL.
Have a look at the following notes in My Oracle Support which give detalsl on the gateways in general and configuring DG4ODBC -
Master Note for Oracle Gateway Products (Doc ID 1083703.1)
Options for Connecting to Foreign Data Stores and Non-Oracle Databases (Doc ID 233876.1)
How to Setup DG4ODBC on Linux x86 32bit (Doc ID 466228.1)
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit (Doc ID 466225.1)
How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems (Doc ID 1266572.1)
Detailed Overview of Connecting Oracle to MySQL Using DG4ODBC Database Link (Doc ID 1320645.1)
Please review these notes and get back if you have any further questions.
Regards,
Mike

Similar Messages

  • Oracle heterogeneous connectivity for DB2

    Hi,
    We want to connect DB2 database with Oracle 8i. We have read that it is possible with Generic connectivity and Transparent gateways.
    Any one knows the differece between the two when connecting to DB2?
    Which one is simpler if we have to use dblink concept
    Thanks,
    Ajay

    Dear Ajay,
    I used heterogenous connectivity to connect to DB2 but it is very very slow. And checked about Oracle gateway to Db2 and came to know that it is also very slow. The next solution was using ODBC to db2 using Forms 6i Patch 13. The connectivity is very good otherwise u can use DB2 Information Integrator software (cost about $20-50 K). If you need any more information please let me know.

  • Sybase oracle heterogeneous connection

    Hi all,
    I created a connection from oracle to sybase using oracle heterogeneous connection. However I have a problem with numeric characters, I cannot get floating parts of numbers.
    when I use create as syntax it maps to correct data types(with the correct precision and scale) but 12,49 comes like 12,00.
    My Database is 10.2.0.3.0 32bit windows
    Any help would be appreciated..

    The problem was because of language settings. Setting NLS_LANG in the registery to correct setting solved the problem..

  • Heterogeneous connection between Oracle and Postgres.

    Hi All,
    I'm trying to make an heterogeneous connection between Oracle and Postgres since few days but i still having this error : "lost RPC connection".
    First of all : I'm using Windows 7, Oracle 10g and PostgreSQL 8.4.
    I have done the following operations :
    1) Create a System DNS named "PG". (Test connection is OK)
    2) Create the file "initPG.ora" in "$ORACLE_HOME/hs/admin" :
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = PG
    HS_FDS_TRACE_LEVEL = ON
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    3) Configure the file "listener.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    SID_LIST_LISTENER =
    (SID_LIST =
         (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
         (SID_DESC =
    (SID_NAME = PG)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    4) Configure the file "tnsnames.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    PG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PG)
    (HS = OK)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    5) Finally, i create my DB-Link and test it :
    CREATE DATABASE LINK "CENTRALE_POSTGRES" CONNECT TO "user_login" IDENTIFIED BY "user_password" USING 'PG';
    SELECT * FROM "dual"@CENTRALE_POSTGRES;
    I got this error :
    ORA-03135 : lost RPC connection.
    As you can see, i have activated the trace level (HS_FDS_TRACE_LEVEL = ON), but the directory "$ORACLE_HOME/NETWORK/trace" still empty.
    Any ideas ?
    Regards

    the tnsnames.ora alias PG is wrong - you need to have 2 closing brackets after the SERVICE_NAME so that HS=OK is outside of the CONNECT_DATA like:
    PG =
    <space>(DESCRIPTION =
    <space><space>(ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
    <space><space>(CONNECT_DATA =
    <space><space><space>(SERVICE_NAME = PG))
    <space><space>(HS = OK)
    <space>)
    Please be also aware HSODBC up to release 10.2 has been desupported since March 2008 and it was replaced by its follow up product DG4ODBC V11

  • Heterogeneous Connectivity to Mysql

    Hi Fellows.
    I need to connect to a Mysql Database online from Oracle 10G (Create a link) I read some article regarding Heterogeneous Connectivity to other non Oracle Databases without ODBC or DNS. Does anybody has deploy this Oracle feature???? Does Oracle 10G has another choice to connect to other relational databases............If somebody has information to connect to Mysql Database wil be great!!!!
    Thanks a lot.!!!!
    Emmanuel.

    I'm still really confused by why you're talking about DNS. DNS is just a mechanism for resolving host names into IP addresses and that happens only at connection time and only if you have specified a host name.
    Yes, normally ODBC is not the most efficient API in the world-- it was designed as a least common denominator API and designed with SQL Server in mind. That said, if you want to use Heterogeneous Services, you would either need ODBC, OLE DB, or a Transparent Gateway. If you are under time constraints, I'm going to wager that you don't have the time and budget to go out an purchase a Transparent Gateway. So you'd either have to use ODBC or OLE DB. I do not know if there is a MySQL OLE DB provider that runs on SUSE-- I would tend to doubt it. Which leaves just ODBC, assuming you've got a MySQL ODBC driver that runs on SUSE.
    Personally, I've used Generic Connectivity to connect to DB2 and SQL Server databases from an AIX box (using commercial ODBC drivers) and to Excel files from a Windows box. I've never personally connected to a MySQL database, though if you're talking about ODBC connections, it doesn't really matter what database you are connecting to.
    Justin

  • Heterogeneous Connectivity to SQL Server from 8.0.5

    I read many topics in this forum relating to Heterogeneous Services (HS) but cannot find any documentation that details how to 'invoke' an HS connection through ODBC
    We need simple connectivity to a SQL-Server DB so there is no need to install Transparent Gateway.
    So, how do we invoke a "Heterogeneous Service" call from a SQL*Net script? Do we configure an ODBC connection to the SQL Server in the Win2k ODBC applet first? Then how do we make the 'call' to that ODBC connection?
    We saw in some postings that the TNSNAMES & LISTENER files require some entries; what is the format for those entries?

    Mariano,
    You want to use Generic Connectivity to access SQL Server. This is documented in Chap 7 of the Heterogeneous Connectivity Administrator's Guide.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1656
    you will need an ODBC/OLE DB driver for sql server.
    I hope that helps.

  • Heterogeneous Connectivity: Error when select data from table

    Hi all,
    I use Heterogeneous Connectivity in Oracle 10g Linux to connect SQL server Database. I use FeeTDS ODBC driver. After configuration, I create database link in Oracle, Database link is active.
    But in SQLplus, I write: select * from all_catalog@DBL; It views all tables and views in sql server database.
    When I write: select * from AA@DBL; It produce error:
    ORA-00942: table or view does not exist
    [Generic Connectivity Using ODBC]Record AA has no fields. Loading failed
    ORA-02063: preceding 2 lines from DBL
    Please help me. Thank you very much!

    I am sorry, i did not go through the entire message of yours
    Does AA exist, does not contain columns, describe the table please.
    Maybe you should not try Select * from ,,,, rather Select specific fields.. Also if in the remote database, the field and tablename are written in lower case you may want to try
    select "field_name" , from "aa" etc
    ammar sajdi

  • Heterogeneous connectivity to Mainframes

    Hi Friends,
    We have data-interchange with another company. They are using
    IBM Mainframe z/OS 1.4 Database – DASD Records in VSAM format.
    I have zero knowledge on mainframes.
    I want to link it with our Linux Oracle 10g DB. Is there a heterogeneos
    connectivity available to this VSAM database? How do I connect to
    it manually? Please give me links docs on VSAM files connect.
    Thanks a lot for your unfailing support

    Check Oracle Access Manager for AS/400 Installation and User's Guide
    http://download.oracle.com/docs/cd/B19306_01/gateways.102/b16223/toc.htm
    And Database Heterogeneous Connectivity Administrator's Guide
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm

  • Setting Heterogeneous Connectivity Environment

    hai,
    i am very new to " ORACLE Heterogeneous Connectivity"..
    and this is my senario..i need to connect oracle with microsoft access (and update 5 more tables regulary)..
    so..
    what are the pre-reqsites needed for doing this connectivity...
    what are the drivers/softwarz,i supposed to install to achive my goal
    Datebase:11g1
    OS: wisdows XP
    (i posted it at .. Forum Home  » Database  » Heterogeneous Connectivity..but no response..so any one who knows abt this,help me..)
    regards,
    jp@valapad

    1.First make an ODBC connection, make entry in System DSN(to create a data source)
    2.Make an entry in tnsnames.ora
    3.Make an entry in listener.ora under SID_LIST_LISTENER
    4.Make an entry in file named init<HS>.ora file located "oracle_base\oracle_home\db\hs\admin"
    5.Restart the listener
    e.g:
    1. create a odbc system dsn named like 'sqlserver'
    2. sqlserver= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp) (HOST=xx.xx.xx.xx) (PORT=1521))
    (CONNECT_DATA = (SERVICE_NAME=sqlserver))
    (HS = OK)
    3. (SID_DESC = (SID_NAME = sqlserver) (ORACLE_HOME = oracle_base\oracle_home\db) (PROGRAM = hsodbc) )
    4.Create a file named initsqlserver.ora and make the following entry:
    HS_FDS_CONNECT_INFO = sqlserver
    Alternatively, you can copy the file named inithsodbc.ora and rename it to initsqlserver.ora
    and edit as HS_FDS_CONNECT_INFO = sqlserver
    5. lsnrctl reload listener_name
    regards
    adnan kaysar

  • Heterogenous connection with dg4odbc Oracle 11g: insert did not work !

    Hi,
    we just migrated to a 64bits version of our oracle 10.2.0.4 database.
    We had a heterogenus connection who was woking "A1" at that time (in 32 bits). Now, we had some problems with the Odbc 64bits and we found on this site that we can use dg4odbc (Oracle 11g).
    We tried it and it works well except for a case ... We have to refresh some Oracle tables using a Ingres database. We have a first script SQL that truncate a table and insert data from a table (using heterogenous connection) terminated by a commit. The second one do exactly the same thing but we use a PL/SQL anonymous block.
    Does anybody know why the first script work and the second not ...
    Here is the "log" of the execution of the first script:
    D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
    s.exe agrt997/oedec12a1 @D:\batch\script_gen\test1.sql
    SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:23:59 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> set feed on
    SQL>
    SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
    Table truncated.
    SQL>
    SQL> INSERT INTO AGRBAKA1.ADMIN_LOCALE
    2 SELECT * FROM ADMIN_LOCALE@test_ron;
    *49 rows created.*
    SQL>
    SQL> commit;
    Commit complete.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
    bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    D:\Logiciels\oracle\ora10g\rdbms\BIN>
    Now, the execution of the second one (who not worked !!):
    D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
    s.exe agrt997/oedec12a1 @D:\batch\script_gen\test2.sql
    SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:24:32 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> set feed on
    SQL>
    SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
    Table truncated.
    SQL>
    SQL> DECLARE
    2 cpt NUMBER;
    3 BEGIN
    4 INSERT INTO AGRBAKA1.ADMIN_LOCALE
    5 SELECT * FROM ADMIN_LOCALE@test_ron;
    6
    7 commit;
    8 EXCEPTION
    9 WHEN OTHERS THEN
    10 ROLLBACK;
    11 END;
    12 /
    DECLARE
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    *[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
    ORA-02063: preceding 2 lines from TEST_RON
    ORA-06512: at line 10
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    *[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
    ORA-02063: preceding 2 lines from TEST_RON
    SQL>
    SQL> EXIT
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
    bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    D:\Logiciels\oracle\ora10g\rdbms\BIN>
    It's strange ...
    Thank's
    Yves

    Hi,
    We set the HS_FDS_TRACE_LEVEL=255, stopped/started the listener, started the trace in the ODBC.
    Here is the trace of the dg4odbc:
    Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
    Version 11.1.0.6.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL16UTF16"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "IngresSvrA1"
    Product-Info:
    Port Rls/Upd:6/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:IngresSvrA1
    Exiting hgogprd, rc=0
    hostmstr: 2960482304:      HOA After hoagprd
    hostmstr: 2960482304:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=2000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2009/07/13-10:42:42
    Exiting hgolofn, rc=0 at 2009/07/13-10:42:42
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2009/07/13-10:42:42
    hostmstr: 2960482304:      HOA After hoainit
    hostmstr: 2960482304:      HOA Before hoalgon
    Entered hgolgon at 2009/07/13-10:42:42
    reco:0, name:AGRT997, tflag:0
    Entered hgosuec at 2009/07/13-10:42:42
    Exiting hgosuec, rc=0 at 2009/07/13-10:42:42
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using AGRT997 as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2009/07/13-10:42:43
    HS_FDS_CONNECT_INFO = "IngresSvrA1"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2009/07/13-10:42:43
    dsn:IngresSvrA1, name:AGRT997
    optn:
    ##>Connect Parameters (len=40)<##
    ## DSN=IngresSvrA1;
    #! UID=AGRT997;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2009/07/13-10:42:43
    DriverName:CAIIOD35.DLL, DriverVer:03.50.910.0089
    DBMS Name:INGRES, DBMS Version:09.10.0000
    Exiting hgocont, rc=0 at 2009/07/13-10:42:43
    SQLGetInfo returns for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoalgon
    hostmstr: 2954018816: RPC Before Upload Caps
    hostmstr: 2954018816:      HOA Before hoaulcp
    Entered hgoulcp at 2009/07/13-10:42:43
    Entered hgowlst at 2009/07/13-10:42:43
    Exiting hgowlst, rc=0 at 2009/07/13-10:42:43
    SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    Exiting hgoulcp, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoaulcp
    hostmstr: 2954018816: RPC After Upload Caps
    hostmstr: 2954018816: RPC Before Upload DDTR
    hostmstr: 2954018816:      HOA Before hoauldt
    Entered hgouldt at 2009/07/13-10:42:43
    Exiting hgouldt, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoauldt
    hostmstr: 2954018816: RPC After Upload DDTR
    hostmstr: 2954018816: RPC Before Begin Trans
    hostmstr: 2954018816:      HOA Before hoabegn
    Entered hgobegn at 2009/07/13-10:42:43
    tflag:0 , initial:1
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Exiting hgobegn, rc=0 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoabegn
    hostmstr: 2954018816: RPC After Begin Trans
    hostmstr: 2954018816: RPC Before Describe Procedure
    hostmstr: 2954018816:      HOA Before hoapdsc
    Entered hgopdsc at 2009/07/13-10:42:43
    Describing procedure AGRT997.admin_locale
    Output hoada
    hgopdsc, line 1222: NO hoada to print
    Exiting hgopdsc, rc=942 at 2009/07/13-10:42:43
    hostmstr: 2954018816:      HOA After hoapdsc
    hostmstr: 2954018816: RPC After Describe Procedure
    hostmstr: 2954018816: RPC Before Describe Table
    hostmstr: 2954018816:      HOA Before hoadtab
    Entered hgodtab at 2009/07/13-10:42:43
    count:1
    table: AGRT997.admin_locale
    Entered hgopcda at 2009/07/13-10:42:44
    Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    The hoada for table AGRT997.admin_locale follows...
    hgodtab, line 577: Printing hoada @ 0224711C
    MAX:13, ACTUAL:13, BRC:1, WHT=6
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
    -6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
    -6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
    1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
    1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id
    91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
    Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadtab
    hostmstr: 2954018816:      HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2009/07/13-10:42:44
    Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadafr
    hostmstr: 2954018816: RPC After Describe Table
    hostmstr: 2954018816: RPC Before SQL Bundling
    hostmstr: 2954018816:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
    type:0
    SQL text from hgopars, id=1, len=312 ...
    000: 454C4553 41205443 64222E31 6E5F7269 [SELECT A1."dir_n]
    010: 69645F6F 22636572 2E31412C 72646122 [o_direc",A1."adr]
    020: 5F6F6E5F 5F6D6461 22676572 2E31412C [_no_adm_reg",A1.]
    030: 6C646122 5F6F6E5F 5F6D6461 22636F6C ["adl_no_adm_loc"]
    040: 2E31412C 6C646122 7365645F 64615F63 [,A1."adl_desc_ad]
    050: 6F6C5F6D 412C2263 61222E31 615F6C64 [m_loc",A1."adl_a]
    060: 5F317264 5F6D6461 22636F6C 2E31412C [dr1_adm_loc",A1.]
    070: 6C646122 7264615F 64615F32 6F6C5F6D ["adl_adr2_adm_lo]
    080: 412C2263 61222E31 615F6C64 5F337264 [c",A1."adl_adr3_]
    090: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
    0A0: 5F64635F 74736F70 6D64615F 22636C5F [_cd_post_adm_lc"]
    0B0: 2E31412C 6C646122 5F6F6E5F 5F6C6574 [,A1."adl_no_tel_]
    0C0: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
    0D0: 5F6F6E5F 5F786166 5F6D6461 22636F6C [_no_fax_adm_loc"]
    0E0: 2E31412C 69747522 2264695F 2E31412C [,A1."uti_id",A1.]
    0F0: 6B616222 5F74645F 6E726564 646F6D5F ["bak_dt_dern_mod]
    100: 725F6669 2C226365 222E3141 5F697475 [if_rec",A1."uti_]
    110: 755F6469 20226276 4D4F5246 47412220 [id_uvb" FROM "AG]
    120: 39395452 222E2237 696D6461 6F6C5F6E [RT997"."admin_lo]
    130: 656C6163 31412022 [cale" A1]
    Exiting hgopars, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxpars
    hostmstr: 2954018816:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2009/07/13-10:42:44
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxopen
    hostmstr: 2954018816:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    Entered hgopcda at 2009/07/13-10:42:44
    Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
    hgodscr, line 521: Printing hoada @ 022470D0
    MAX:13, ACTUAL:13, BRC:100, WHT=5
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    -6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
    -6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
    -6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
    1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
    1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
    1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
    1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id
    91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
    1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
    Exiting hgodscr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxdscr
    hostmstr: 2954018816: RPC After SQL Bundling
    hostmstr: 2954018816: RPC Before Describe Table
    hostmstr: 2954018816:      HOA Before hoadtab
    Entered hgodtab at 2009/07/13-10:42:44
    count:1
    table: admin_locale
    The hoada for table admin_locale follows...
    hgodtab, line 577: NO hoada to print
    Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadtab
    hostmstr: 2954018816: RPC After Describe Table
    hostmstr: 2954018816: RPC Before SQL Bundling
    hostmstr: 2954018816:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2009/07/13-10:42:44
    Exiting hgoclse, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoxclse
    hostmstr: 2954018816:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2009/07/13-10:42:44
    Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoadafr
    hostmstr: 2954018816:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
    type:0
    SQL text from hgopars, id=1, len=28 ...
    00: 454C4553 2A205443 4F524620 6122204D [SELECT * FROM "a]
    10: 6E696D64 636F6C5F 22656C61 [dmin_locale"]
    Entered hgopoer at 2009/07/13-10:42:44
    hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
    [Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
    Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
    hgopars, line 278: calling SQLPrepare got sqlstate HY000
    Exiting hgopars, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgopars.c LINE:308 ID:Prepare stmt
    hostmstr: 2954018816:      HOA After hoxpars
    hostmstr: 2954018816: RPC After SQL Bundling
    hostmstr: 2954018816: RPC Before Rollback Trans
    hostmstr: 2954018816:      HOA Before hoaroll
    Entered hgoroll at 2009/07/13-10:42:44
    tflag:1 , cmt(0):
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Entered hgocpctx at 2009/07/13-10:42:44
    Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
    Entered hgopoer at 2009/07/13-10:42:44
    hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
    [Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
    Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
    hgoroll, line 124: calling SQLEndTran got sqlstate HY000
    Exiting hgoroll, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgoroll.c LINE:124 ID:End transaction
    hostmstr: 2954018816:      HOA After hoaroll
    hostmstr: 2954018816: RPC After Rollback Trans
    hostmstr: 2954018816: RPC Before Rollback Trans
    hostmstr: 2954018816:      HOA Before hoaroll
    Entered hgoroll at 2009/07/13-10:42:44
    tflag:1 , cmt(0):
    hoi:0x12f074, ttid (len 28) is ...
    00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
    10: 2E31312E 36323031 34373639 [.11.10269674]
    tbid (len 10) is ...
    0: 000B0018 009CB3EA 0104 [..........]
    Entered hgocpctx at 2009/07/13-10:42:44
    Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
    Exiting hgoroll, rc=0 at 2009/07/13-10:42:44
    hostmstr: 2954018816:      HOA After hoaroll
    hostmstr: 2954018816: RPC After Rollback Trans
    hostmstr: 2954018816: RPC Before Logoff
    hostmstr: 2954018816:      HOA Before hoalgof
    Entered hgolgof at 2009/07/13-10:42:46
    tflag:1
    Exiting hgolgof, rc=0 at 2009/07/13-10:42:46
    hostmstr: 2956316672:      HOA After hoalgof
    hostmstr: 2956316672: RPC After Logoff
    hostmstr: 2956316672: RPC Before Exit Agent
    hostmstr: 2956316672:      HOA Before hoaexit
    Entered hgoexit at 2009/07/13-10:42:46
    Exiting hgoexit, rc=0 at 2009/07/13-10:42:46
    hostmstr: 2960150528:      HOA After hoaexit
    hostmstr: 2960150528: RPC After Exit Agent
    If you want the "trace log" of the ODBC, I could send it to you in a further reply.
    Thank's

  • Heterogenous connectivity - HS ODBC

    Hi,
    what are the licensing constraints for such a product? Does it work with standard version or requires it Enterprise Edition, or is it a package to be bought separately?
    Thanks
    Ciao

    Specifically on the licensing question
    Heterogeneous Services is included with your database license
    In order to actually make a database link to a non-Oracle database, though, Heterogeneous Services needs either Generic Connectivity or a Transparent Gateway. Generic Connectivity appears to be what you are looking to use-- that uses ODBC or OLE DB drivers to make a generic connection to the non-Oracle database. Generic Connectivity is included with your license, though you would potentially have to license the ODBC/ OLE DB driver. Using a Transparent Gateway, on the other hand, provides additional functionality (such as two-phase commits and additional performance), but requires licensing a separate Oracle product (the Transparent Gateway).
    And just to note, nothing I've written here is in any way binding on Oracle-- only your Oracle sales rep can make that sort of binding agreement. My comments are general licensing comments-- your organization may have an agreement with Oracle that changes some or all of the standard licensing terms. Licensing terms may differ in your country. Oracle may change licensing terms whenever it wishes. And should there ever be a question about whether you are properly licensed, relying on comments made by some guy on the internet with a playing card logo next to his name probably isn't the position you'd want to be in.
    Justin

  • Heterogenous Connection is Not Established

    HI!
    _1_. I am connecting Oracle with mysql using heterogenous services
    a. I made mysql ODBC connection
    b. Configured hs init file.
    c. configured listener.ora
    d. configured tnsnames.ora
    e. created link in sql*Plus
    _2_. But when i select table from mysql, it gives error:
    ORA-12154: TNS:could not resolve the connect identifier specified
    _3_ I have also used to connect through OLEDB, but the same error comes.
    Note: I am using Oracle 10g, mysql 5.0.22, ODBC 3.5.27.
    Plz help me in the same.
    Regards!
    Edited by: Kami_Lily on Jul 30, 2009 8:43 PM

    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.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.

  • MS-SQL Heterogeneous Connectivity setup.

    The enviroment:
    1)- Windows 2003. MS-SQL 2005. 64Bit AMD
    2)- Linux x86_64 AMD. 10g.R2
    Situation:
    We need to stablish the Heterogeneous Services to synchronize data from MS-SQL 2005 to 10gR2.
    Questions:
    1) In case of Heterogeneous Services configuration. Can I install the service in the Linux Server? or I have to install a 10g database in the Winwdows Server?
    2) What are my options?
    3) I have problems in the pass with the AMD x86_64 with drivers, It is provided and any one have done it in this plataform in both windows and linux?
    Thank you
    Jose.

    Heterogeneous services is not clear what product you want to use.
    In general for a SQL Server connection we offer a GATEWAY and GENERIC CONNECTIVITY; both rely on HS.
    Generic Connectivity (=HSODBC) wasn't available for 64bit Linux in 10g and the 10g gateway wasn't available for 64bit Linux nor 64bit Windows.
    BUT....
    Starting with 11g we now offer the follow up product of HSODBC which is called database gateway for ODBC. This DG4ODBC is now available for Linux x86 64bit and it is also certified with a Oracle 10g.
    DG4ODBC requires a 3rd party 64bit ODBC driver and as it is a generic connectivity it only supports a limited functionality. The follow up product of TG4MSQL is now called in 11g DG4MSQL and now also available in 11g for Linux x86 64bit and certified with an 10g Oracle database.
    Both 11g gateway require 10.2.0.3 patchset combined with a compatibility patch or 10.2.0.4 patchset applied.
    So to answer your questions:
    1) Install DG4ODBC or DG4MSQL V11 into a separate Oracle_Home directory on your Linux database server.
    2) DG4ODBC or DG4MSQL.
    DG4ODBC is from the Oracle point of view for free; DG4MSQL requires a license.
    3) You might check out DataDirect or Openlink; they offer commercial 64bit ODBC drivers. If you use the gateway it comes with everything you need to establish the connection.

  • Heterogeneous Connectivity to MySQL with ODBC 5.1

    Hi,
    I have a setup with an oracle 10g XE version on an windows Server 2003 together with a MySQL 5.5
    I setup a Heterogeneous Link using MySQL ODBC 5.1.
    Every time I select something from a mysql table all varchar and text fields ignored in result set.
    so the
    select * from project@sugarcrm
    returns only the non text/varchar fields (dates,numeric)
    the select name from project@sugarcrm where name is char fiels
    returns ORA-00904 'name invalid identifier '
    Thanks

    I was looking for the sql.log in defined path if was in c:\ ...
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 00000000
              SQLHANDLE * 0007D2C0
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 00000000
              SQLHANDLE * 0x0007D2C0 ( 0x009f14e8)
    odbcad32 1860-2944     ENTER SQLSetEnvAttr
              SQLHENV 009F14E8
              SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
              SQLPOINTER 0x00000003
              SQLINTEGER 0
    odbcad32 1860-2944     EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
              SQLHENV 009F14E8
              SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
              SQLPOINTER 0x00000003 (BADMEM)
              SQLINTEGER 0
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F14E8
              SQLHANDLE * 0007D2BC
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F14E8
              SQLHANDLE * 0x0007D2BC ( 0x009f1590)
    odbcad32 1860-2944     ENTER SQLDriverConnectW
              HDBC 009F1590
              HWND 00000000
              WCHAR * 0x4BF78088 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x4BF78088
              SWORD 2
              SWORD * 0x00000000
              UWORD 0 <SQL_DRIVER_NOPROMPT>
    odbcad32 1860-2944     EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
              HDBC 009F1590
              HWND 00000000
              WCHAR * 0x4BF78088 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x4BF78088
              SWORD 2
              SWORD * 0x00000000
              UWORD 0 <SQL_DRIVER_NOPROMPT>
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F1590
              SQLHANDLE * 0007D2B8
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F1590
              SQLHANDLE * 0x0007D2B8 ( 0x009f21c8)
    odbcad32 1860-2944     ENTER SQLTablesW
              HSTMT 009F21C8
              WCHAR * 0x01336BC8 [      -3] "%\ 0"
              SWORD -3
              WCHAR * 0x01336BCC [      -3] "\ 0"
              SWORD -3
              WCHAR * 0x01336BCC
              SWORD 0
              WCHAR * 0x01336BCC
              SWORD 0
    odbcad32 1860-2944     EXIT SQLTablesW with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
              WCHAR * 0x01336BC8 [      -3] "%\ 0"
              SWORD -3
              WCHAR * 0x01336BCC [      -3] "\ 0"
              SWORD -3
              WCHAR * 0x01336BCC
              SWORD 0
              WCHAR * 0x01336BCC
              SWORD 0
    odbcad32 1860-2944     ENTER SQLBindCol
              HSTMT 009F21C8
              UWORD 1
              SWORD -8 <SQL_C_WCHAR>
              PTR 0x0007D2CC
              SQLLEN 255
              SQLLEN * 0x0007D2C8
    odbcad32 1860-2944     EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
              UWORD 1
              SWORD -8 <SQL_C_WCHAR>
              PTR 0x0007D2CC
              SQLLEN 255
              SQLLEN * 0x0007D2C8 (2000326715)
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F21C8
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F21C8
    odbcad32 1860-2944     ENTER SQLDisconnect
              HDBC 009F1590
    odbcad32 1860-2944     EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
              HDBC 009F1590
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F1590
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F1590
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 009F14E8
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 009F14E8
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 00000000
              SQLHANDLE * 0007CFF8
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 00000000
              SQLHANDLE * 0x0007CFF8 ( 0x009f14e8)
    odbcad32 1860-2944     ENTER SQLSetEnvAttr
              SQLHENV 009F14E8
              SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
              SQLPOINTER 0x00000003
              SQLINTEGER 0
    odbcad32 1860-2944     EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
              SQLHENV 009F14E8
              SQLINTEGER 200 <SQL_ATTR_ODBC_VERSION>
              SQLPOINTER 0x00000003 (BADMEM)
              SQLINTEGER 0
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F14E8
              SQLHANDLE * 0007CFF4
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F14E8
              SQLHANDLE * 0x0007CFF4 ( 0x009f1590)
    odbcad32 1860-2944     ENTER SQLDriverConnectW
              HDBC 009F1590
              HWND 00000000
              WCHAR * 0x4BF78088 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x4BF78088
              SWORD 2
              SWORD * 0x00000000
              UWORD 0 <SQL_DRIVER_NOPROMPT>
    odbcad32 1860-2944     EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
              HDBC 009F1590
              HWND 00000000
              WCHAR * 0x4BF78088 [      -3] "******\ 0"
              SWORD -3
              WCHAR * 0x4BF78088
              SWORD 2
              SWORD * 0x00000000
              UWORD 0 <SQL_DRIVER_NOPROMPT>
    odbcad32 1860-2944     ENTER SQLAllocHandle
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F1590
              SQLHANDLE * 0007CFF0
    odbcad32 1860-2944     EXIT SQLAllocHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F1590
              SQLHANDLE * 0x0007CFF0 ( 0x009f21c8)
    odbcad32 1860-2944     ENTER SQLExecDirectW
              HSTMT 009F21C8
              WCHAR * 0x01336BD0 [      -3] "SHOW CHARACTER SET\ 0"
              SDWORD -3
    odbcad32 1860-2944     EXIT SQLExecDirectW with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
              WCHAR * 0x01336BD0 [      -3] "SHOW CHARACTER SET\ 0"
              SDWORD -3
    odbcad32 1860-2944     ENTER SQLBindCol
              HSTMT 009F21C8
              UWORD 1
              SWORD -8 <SQL_C_WCHAR>
              PTR 0x0007D004
              SQLLEN 255
              SQLLEN * 0x0007D000
    odbcad32 1860-2944     EXIT SQLBindCol with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
              UWORD 1
              SWORD -8 <SQL_C_WCHAR>
              PTR 0x0007D004
              SQLLEN 255
              SQLLEN * 0x0007D000 (512124)
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 0 (SQL_SUCCESS)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFetch
              HSTMT 009F21C8
    odbcad32 1860-2944     EXIT SQLFetch with return code 100 (SQL_NO_DATA_FOUND)
              HSTMT 009F21C8
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F21C8
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 3 <SQL_HANDLE_STMT>
              SQLHANDLE 009F21C8
    odbcad32 1860-2944     ENTER SQLDisconnect
              HDBC 009F1590
    odbcad32 1860-2944     EXIT SQLDisconnect with return code 0 (SQL_SUCCESS)
              HDBC 009F1590
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F1590
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 2 <SQL_HANDLE_DBC>
              SQLHANDLE 009F1590
    odbcad32 1860-2944     ENTER SQLFreeHandle
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 009F14E8
    odbcad32 1860-2944     EXIT SQLFreeHandle with return code 0 (SQL_SUCCESS)
              SQLSMALLINT 1 <SQL_HANDLE_ENV>
              SQLHANDLE 009F14E8

  • Heterogeneous connectivity error

    I am trying to access excel sheet data using database link.
    I have set following parameters in inthsodbc file at orahome\hs\admin file
    HS_FDS_CONNECT_INFO ,HS_FDS_TRACE_LEVEL = off
    HS_AUTOREGISTER = TRUE,HS_DB_NAME = hsodbc
    I have also set required parameters in tnsnames & listener.ora files.
    I got following error,
    SQL> select * from "Sheet1$"@my_excel_file;
    select * from "Sheet1$"@my_excel_file
    sheet1 is the name of excel sheet.
    ERROR at line 1:
    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 MY_EXCEL_FILE
    What is use of inthsodbc file at orahome\hs\admin ?

    The inithsodbc.ora file is a template that you can copy to help setup an odbc connection. The file helps the listener connect to the remote datasource.
    Four things that are important for setting up the hs connection on windoze:
    DSN
    tnsnames.ora
    listener.ora
    init<orasid>.ora
    Follow this howto, and let me know if it helped you:
    Using an Oracle database link to connect to Excel:
    http://technology.amis.nl/blog/?p=1303

  • Heterogeneous Connectivity Problem

    I want to access the data in sqlserver from oracle use Generic Connectivity
    machine A:WINDOWS NT SERVER,SQLSERVER 7.0
    machine B:SUN SPARC,Solaris 8,ORACLE8.17
    My step below:
    1.Create System DSN on machine A, NAME:ssodbc,test/test,PORT 1433 OK
    2.Install ODBC for SQLSERVER On machine B,DataDirect Connect for ODBC 4.1
    UNIX Server(Solaris 7,8) and Service Pack 1,OK,then config the system
    information fileFODBC.INI
    [ODBC Data Sources]
    SQLServer Wire Protocol=DataDirect 4.10 SQL Server Wire Protocol
    [SQLServer Wire Protocol]
    Driver=/u04/odbc/lib/ivmsss18.so
    Description=DataDirect 4.10 SQL Server Wire Protocol
    Database=ssodbc
    LogonID=test
    Password=test
    Address=129.0.0.8,1433
    QuotedId=No
    AnsiNPW=No
    [ODBC]
    Trace=0
    TraceFile=odbctrace.out
    TraceDll=/u04/odbc/lib/odbctrac.trc
    InstallDir=/u04/odbc
    ConversionTableLocation=/u04/odbc/tables
    UseCursorLib=0
    in adtionCconfig the oracle users's .profileF
    LD_LIBRARY_PATH=/u01/app/oracle/product/817/lib:/usr/bin:/u04/odbc/lib;
    export LD_LIBRARY_PATH
    ODBCINI=/u04/odbc/odbc.ini; export ODBCINI
    3.tnsnames.ora
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 129.0.29.8)(PORT = 1433))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS = OK)
    4.listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 129.0.0.6)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/817)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = rg03)
    (ORACLE_HOME = /u01/app/oracle/product/817)
    (SID_NAME = rg03)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = /u01/app/oracle/product/817)
    (PROGRAM = hsodbc)
    5.inithsodbc.ora
    HS_FDS_CONNECT_INFO = ssodbc
    HS_FDS_TRACE_LEVEL = 2
    HS_FDS_TRACE_FILE_NAME = $ORACLE_HOME/hssql.trc
    HS_FDS_SHAREABLE_NAME = /u04/odbc/lib/ivmsss18.so
    # ODBC specific environment variables
    set ODBCINI=/u04/odbc/odbc.ini
    6.create database link hsodbcCOK
    7.lsnrctl stop OK!
    lsnrctl start Ok!
    tnsping hsodbc !!!!
    TNS-03506:Failed to create address binding
    8.test the ODBC if okF
    a./u04/odbc/bin/ivtestlib /u04/odbc/lib/ivmsss18.so
    Load of /u04/odbc/lib/ivmsss18.so successful, qehandle is 0xFF1702E0
    b. demoodbc ssodbc -uid test -pwd test
    demoodbc DataDirect Technologies, Inc. ODBC Sample Application.
    demoodbc: will connect to data source 'ssodbc' as user 'test/test'.
    SQLConnect: Failed...
    SQLSTATE = IM002
    NATIVE ERROR = 0
    MSG = [DataDirect][ODBC lib] Data source name not found and no default
    driver sd
    9.in SQLPLUSF
    SQL> select * from sysusers@hsodbc;
    select * from sysusers@hsodbc
    ORA-12154: TNS:
    WHY??
    1.IN use Generic ConnectivityCwhether config the ODBC on oracle side?
    2.what Wire Protocol isH
    thanksI

    Xu,
    When creating the DB link you need to specify the username and password to use to connect.

Maybe you are looking for

  • Install cache error

    I'm trying to install itunes 10.6 on windows 7 home premium.  it downloads the software and starts to install.  I receive an error:  "an error occurred while attempting to create the directory c:/program data/apple/installer cache" I click retry seve

  • Rgding Capturing of Ex Duty after recieving the invoice from Subcontractor

    Dear  SAP Gurus ., I have one new requirment , please let me know how to handle Points will be awarded : My client is following the subcontracting scenario as detailed below how to map the same,pls let me know   Client is placing the purchase order 

  • Why do gcc-go and go are in conflict?

    Hi. I just found that gcc-go and go are now in conflict. I just removed go when upgrading, but was curious about the reason. I'm new to Go and I really don't know the benefits of one compiler over the other, so I had this whim of having both installe

  • External speakers for FCP 7 & Mac OS Lion not working

    Hello, We recently upgraded to OS Lion. Previously, our System Preferences for Audio were set to Decklink Audio and the FCP a/v settings were set to Decklink. Now that we have upgraded to OS Lion, Decklink is no longer a choice and obviously our exte

  • Charger un fichier xml situé sur un NAS

    bonsoir, voilà mon problème: j'ai une aplication AIR sur un ordinateur et je voudrais charger un fichier xml présent sur ce même ordinateur mais j'ai besoin d'indiquer l'adresse du fichier en dur et pas en lien relatif (le fichier est situé sur un NA