Odbc access-xp  from oracle 9i

om the moment we have oracle 7.3.4 and we connect with msaccess via an odbc driver ORACLE73 Ver 3.5
next month we get oracle 9i, but how can we connect msacces to that tables? right now connection to test-databases dont work.

Which client do you have installed?
I didn't have problems using either the MS ODBC client or the Oracle ODBC client from MS Windows XP Pro (8i client connecting to an 8i server; 9i client connecting to a 9i or 10g server). Linking Access 2002/2003 tables using the 10g client to a 10g server is not working, however; I get "#DELETED" instead of data in the cells.

Similar Messages

  • ODBC access to an Oracle DB running on Windows Server 64 bit?

    I'm being told by a company that there is no way to connect via ODBC from my Mac to an Oracle database hosted on a Windows 64 bit server. Does anyone know whether that is true, and if not, what tool or driver one could use to make the connection?
    Thanks,
    ~Andrew

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

  • Why data change in linked table in Access - link from Oracle DB

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

  • Accessing Postgres from Oracle using DG4ODBC and psqlodbc very slow

    I have set up DG4ODBC on a Windows 2003 32-bit 11g Oracle database to access a Windows 2008 64-bit 9.1 Postgres database, using the psqlodbc driver (32-bit).
    I am able to issue queries, but they are very slow. The reason is that the where clause of the query is being removed somewhere along the line (I have seen the actual queries run by Postgres using pgAdmin server status screen), and all the rows in the table are retrieved from Postgres. Naturally with tables bigger than a few rows that means doing a full table scan in Postgres, as well as transferring lots of bytes through the network.
    For instance, if I query from Oracle like this: select * from "dps_user"@pg where "id" = '2423', the sql run at Postgres is this: select * from dps_user, which retrieves all rows on the table! When I get the query result in Oracle, I only get the row with id 2423, so I assume that Oracle gets the whole table, and does the filtering at its end.
    In a 32-bit Windows XP separate machine I have set up the same psqlodbc driver, and I have run the same query using Microsoft Query. In this case, the query run in Postgres contains the where clause, and therefore it is much faster because a unique index scan is performed in Postgres, and only one row is transferred back to Microsoft Query.
    Could you help me, please?
    Thanks a lot,
    Carlos

    Hi Mike,
    Thanks a lot for your help. The gateway version must be 11.2.0.3 since the Oracle database has patchset 11.2.0.3 applied.
    This is the ini file once I changed the trace level:
    HS_FDS_CONNECT_INFO = pg
    HS_FDS_TRACE_LEVEL = 255
    I tried this query:
    select *
    from dps_user
    where id = 'W106606';
    Where dps_user is a view on the Oracle database which translates to this:
    CREATE OR REPLACE FORCE VIEW dps_user (ID,
    login,
    first_name,
    last_name,
    lastactivity_date,
    registration_date,
    email,
    email_status,
    receive_email
    AS
    SELECT "id", "login", "first_name", "last_name", "lastactivity_date",
    "registration_date", "email", "email_status", "receive_email"
    FROM "dynamo_web"."dps_user"@pg.es.lladro.com;
    The generated trace file is:
    Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
    Heterogeneous Agent Release
    11.2.0.3.0
    Oracle Corporation --- JUEVES MAY 09 2013 18:13:35.968
    Version 11.2.0.3.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_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    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_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC 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"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "PG"
    Product-Info:
    Port Rls/Upd:3/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.3.0_0011, Instance:PG
    Exiting hgogprd, rc=0
    hostmstr: 2051219456:      HOA After hoagprd
    hostmstr: 2051219456:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    rc=1000 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2013/05/09-18:13:36
    Exiting hgolofn, rc=0 at 2013/05/09-18:13:36
    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 ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2051219456:      HOA After hoainit
    hostmstr: 2051219456:      HOA Before hoalgon
    Entered hgolgon at 2013/05/09-18:13:36
    reco:0, name:dynamoselect, tflag:0
    Entered hgosuec at 2013/05/09-18:13:36
    Exiting hgosuec, rc=0 at 2013/05/09-18:13:36
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using dynamoselect as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/05/09-18:13:36
    HS_FDS_CONNECT_INFO = "pg"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/05/09-18:13:36
    dsn:pg, name:dynamoselect
    optn:
    Entered hgocip at 2013/05/09-18:13:36
    dsn:pg
    Exiting hgocip, rc=0 at 2013/05/09-18:13:36
    ##>Connect Parameters (len=40)<##
    ## DSN=pg;
    #! UID=dynamoselect;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2013/05/09-18:13:36
    Entered hgolosf at 2013/05/09-18:13:36
    ODBC Function-Available-Array 0xFFFE 0x01FF 0xFF00 0xFA7F 0x03DF 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
    0x0000 0x0000 0xFE00 0x3B5C
    Exiting hgolosf, rc=0 at 2013/05/09-18:13:36
    DriverName:PSQLODBC35W.DLL, DriverVer:09.01.0100
    DBMS Name:PostgreSQL, DBMS Version:9.1.7
    Exiting hgocont, rc=0 at 2013/05/09-18:13:36
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 0 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2049228800: RPC Before Upload Caps
    hostmstr: 2049228800:      HOA Before hoaulcp
    Entered hgoulcp at 2013/05/09-18:13:36
    Entered hgowlst at 2013/05/09-18:13:36
    Exiting hgowlst, rc=0 at 2013/05/09-18:13:36
    SQLGetInfo returns 0x1d for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xa
    SQLGetInfo returns 64 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 64 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    2 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoaulcp
    hostmstr: 2049228800: RPC After Upload Caps
    hostmstr: 2049228800: RPC Before Upload DDTR
    hostmstr: 2049228800:      HOA Before hoauldt
    Entered hgouldt at 2013/05/09-18:13:36
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoauldt
    hostmstr: 2049228800: RPC After Upload DDTR
    hostmstr: 2049228800: RPC Before Begin Trans
    hostmstr: 2049228800:      HOA Before hoabegn
    Entered hgobegn at 2013/05/09-18:13:36
    tflag:0 , initial:1
    hoi:0x12f090, ttid (len 39) is ...
    00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
    10: 434F4D2E 65336530 30323865 2E31312E [COM.e3e0028e.11.]
    20: 332E3133 303836 [3.13086]
    tbid (len 36) is ...
    00: 44455341 322E4553 2E4C4C41 44524F2E [DESA2.ES.LLADRO.]
    10: 434F4D5B 31312E33 2E313330 38365D5B [COM[11.3.13086][]
    20: 312E345D [1.4]]
    Exiting hgobegn, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2049228800:      HOA After hoabegn
    hostmstr: 2049228800: RPC After Begin Trans
    hostmstr: 2049228800: RPC Before Describe Table
    hostmstr: 2049228800:      HOA Before hoadtab
    Entered hgodtab at 2013/05/09-18:13:36
    count:1
    table: dynamo_web.dps_user
    Allocate hoada[0] @ 033A88D4
    Entered hgopcda at 2013/05/09-18:13:36
    Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:3(auto_login): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:4(password): dtype:-9 (WVARCHAR), prc/scl:35/0, nullbl:1, octet:70, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:5(member): dtype:12 (VARCHAR), prc/scl:5/0, nullbl:1, octet:-1, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:6(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:7(middle_name): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:1, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:8(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:9(user_type): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:10(locale): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:11(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:12(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:13(email): dtype:-9 (WVARCHAR), prc/scl:100/6, nullbl:1, octet:200, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:14(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:15(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:16(gender): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:17(date_of_birth): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    Entered hgopcda at 2013/05/09-18:13:36
    Column:18(securitystatus): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:-1, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:36
    The hoada for table dynamo_web.dps_user follows...
    hgodtab, line 1092: Printing hoada @ 033A88D4
    MAX:18, ACTUAL:18, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY,0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    -1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 auto_login
    12 VARCHAR Y 70 70 128/ 35 1000 0 440 password
    -1 LONGVARCHAR Y 0 0 0/ 0 0 0 220 member
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 80 80 128/ 40 1000 0 440 middle_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    -5 BIGINT Y 8 8 0/ 0 0 0 20 user_type
    -5 BIGINT Y 8 8 0/ 0 0 0 20 locale
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 gender
    91 DATE Y 16 16 0/ 0 0 0 0 date_of_birth
    -5 BIGINT Y 8 8 0/ 0 0 0 20 securitystatus
    Exiting hgodtab, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2048180224:      HOA After hoadtab
    hostmstr: 2048180224:      HOA Before hoadafr
    Entered hgodafr, cursor id 0 at 2013/05/09-18:13:36
    Free hoada @ 033A88D4
    Exiting hgodafr, rc=0 at 2013/05/09-18:13:36
    hostmstr: 2048180224:      HOA After hoadafr
    hostmstr: 2048180224: RPC After Describe Table
    hostmstr: 2048180224: RPC Before SQL Bundling
    hostmstr: 2048180224:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2013/05/09-18:13:36
    type:0
    SQL text from hgopars, id=1, len=152 ...
    00: 53454C45 43542022 6964222C 226C6F67 [SELECT "id","log]
    10: 696E222C 22666972 73745F6E 616D6522 [in","first_name"]
    20: 2C226C61 73745F6E 616D6522 2C226C61 [,"last_name","la]
    30: 73746163 74697669 74795F64 61746522 [stactivity_date"]
    40: 2C227265 67697374 72617469 6F6E5F64 [,"registration_d]
    50: 61746522 2C22656D 61696C22 2C22656D [ate","email","em]
    60: 61696C5F 73746174 7573222C 22726563 [ail_status","rec]
    70: 65697665 5F656D61 696C2220 46524F4D [eive_email" FROM]
    80: 20226479 6E616D6F 5F776562 222E2264 [ "dynamo_web"."d]
    90: 70735F75 73657222 [ps_user"]
    Exiting hgopars, rc=0 at 2013/05/09-18:13:56
    hostmstr: 2001973248:      HOA After hoxpars
    hostmstr: 2001973248:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2013/05/09-18:13:56
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2013/05/09-18:13:56
    hostmstr: 2001973248:      HOA After hoxopen
    hostmstr: 2001973248:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2013/05/09-18:13:56
    Allocate hoada @ 033A88BC
    Entered hgodscr_process_sellist_description at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:56
    Column:1(id): dtype:-9 (WVARCHAR), prc/scl:40/0, nullbl:0, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:56
    Column:2(login): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:0, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:56
    Entered hgopcda at 2013/05/09-18:13:57
    Column:3(first_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:4(last_name): dtype:-9 (WVARCHAR), prc/scl:60/0, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:5(lastactivity_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:6(registration_date): dtype:93 (TIMESTAMP), prc/scl:26/6, nullbl:1, octet:120, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:7(email): dtype:-9 (WVARCHAR), prc/scl:100/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:8(email_status): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    Entered hgopcda at 2013/05/09-18:13:57
    Column:9(receive_email): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/05/09-18:13:57
    hgodscr, line 464: Printing hoada @ 033A88BC
    MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    Exiting hgodscr, rc=0 at 2013/05/09-18:13:57
    hostmstr: 2001973248:      HOA After hoxdscr
    hostmstr: 2001973248: RPC After SQL Bundling
    hostmstr: 2001973248: RPC Before Fetch Row
    hostmstr: 2001973248:      HOA Before hoaftch
    Entered hgoftch, cursor id 1 at 2013/05/09-18:13:57
    hgoftch, line 133: Printing hoada @ 033A88BC
    MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    12 VARCHAR N 80 80 128/ 40 1000 0 440 id
    12 VARCHAR N 200 200 128/100 1000 0 440 login
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 first_name
    12 VARCHAR Y 120 120 128/ 60 1000 0 440 last_name
    91 DATE Y 16 16 0/ 0 0 0 0 lastactivity_date
    91 DATE Y 16 16 0/ 0 0 0 0 registration_date
    12 VARCHAR Y 200 200 128/100 1000 0 440 email
    -5 BIGINT Y 8 8 0/ 0 0 0 20 email_status
    -5 BIGINT Y 8 8 0/ 0 0 0 20 receive_email
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: -8, bflsz: 82
    SQLBindCol: column 2, cdatatype: -8, bflsz: 202
    SQLBindCol: column 3, cdatatype: -8, bflsz: 122
    SQLBindCol: column 4, cdatatype: -8, bflsz: 122
    SQLBindCol: column 5, cdatatype: 93, bflsz: 16
    SQLBindCol: column 6, cdatatype: 93, bflsz: 16
    SQLBindCol: column 7, cdatatype: -8, bflsz: 202
    SQLBindCol: column 8, cdatatype: -25, bflsz: 8
    SQLBindCol: column 9, cdatatype: -25, bflsz: 8
    SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14
    SQLFetch: row: 1, column 1, bflsz: 82, bflar: 14, (bfl: 80, mbl: 80)
    SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54
    SQLFetch: row: 1, column 2, bflsz: 202, bflar: 54, (bfl: 200, mbl: 200)
    SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10
    SQLFetch: row: 1, column 3, bflsz: 122, bflar: 10, (bfl: 120, mbl: 120)
    SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8
    SQLFetch: row: 1, column 4, bflsz: 122, bflar: 8, (bfl: 120, mbl: 120)
    SQLFetch: row: 1, column 5, bflsz: 16, bflar: -1
    SQLFetch: row: 1, column 5, bflsz: 16, bflar: SQL_NULL_DATA
    SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16
    SQLFetch: row: 1, column 6, bflsz: 16, bflar: 16, (bfl: 16, mbl: 16)
    SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44
    SQLFetch: row: 1, column 7, bflsz: 202, bflar: 44, (bfl: 200, mbl: 200)
    SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 8, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8
    SQLFetch: row: 1, column 9, bflsz: 8, bflar: 8, (bfl: 8, mbl: 8)
    SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14
    SQLFetch: row: 2, column 1, bflsz: 82, bflar: 14, (bfl: 0, mbl: 80)
    (I have clipped it because it is huge, since all rows from the table are brought into Oracle. In fact, the query did not finish yet because the process dg4odbc.exe is busy writing the trace file, I may have to kill it ).
    Thanks a lot,
    Carlos

  • Access MySQL from Oracle Tnsping problem.

    Dears
    I am trying to connect to MysqlDB from Oracle.
    I have installed Oracle Gateway and ODBC diver on Linux server.
    Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
    please look at my configuration files which I have created and maintained to established connections to MySqlDB.
    I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
    Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
    I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
    ####/etc/odbc.ini####
    [ODBC Data Sources]
    MySQL = MySQL ODBC Driver 5.2
    [MySQL]
    Driver = /usr/lib64/libmyodbc5a.so
    DATABASE = veritabani
    DESCRIPTION = MySQL ODBC 5.2 Driver
    PORT = nnnn
    SERVER = x.x.x.x
    UID = kullanici
    PWD = sifre
    CHARSET = latin1
    TRACEFILE = /tmp/myodbc-demodsn.trc
    TRACE = OFF
    ####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
    HS_FDS_CONNECT_INFO = MySQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
    set ODBCINI=/etc/odbc.ini
    set HOME=/home/oracle
    ####/oracle/11203/GTW/network/admin/listener.ora####
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4odbc)
    (ORACLE_HOME=/oracle/11203/GTW)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
    ####/oracle/11203/GTW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = hostname)
    (PORT = 1522)
    (CONNECT_DATA =
    (SID = dg4odbc)
    (HS = OK)
    Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
    I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
    ####/oracle/11202/BDW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
    (CONNECT_DATA = (SID = dg4odbc))
    (HS=OK))
    Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
    CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
    SQL> select * from kullanici@dg4odbc;
    select * from kullanici@dg4odbc
    ERROR at line 1:
    ora-12154 tns could not resolve the connect identifier specified
    Thank you so much to everybody who reads and writes this...
    Best regards,
    Eren.
    Edited by: BeymenAdmin on Mar 21, 2013 8:52 AM

    BeymenAdmin wrote:
    Dears
    I am trying to connect to MysqlDB from Oracle.
    I have installed Oracle Gateway and ODBC diver on Linux server.
    Oracle gateway was installed on same server with Oracle Database but in different home and it has a different listener.
    please look at my configuration files which I have created and maintained to established connections to MySqlDB.
    I think I did some mistake and seize up in it so I could not find a solution. I am trying to fix it as well but if somebody can help me it will be very nice.
    Gateway version is 11.2.0.3.0 and it is on ORAHOME /oracle/11203/GTW and its listener port is 1522.
    I am able to tnsping port 1522 (dg4odbc) from gateways home. Gateway configuration files are below.
    ####/etc/odbc.ini####
    [ODBC Data Sources]
    MySQL = MySQL ODBC Driver 5.2
    [MySQL]
    Driver = /usr/lib64/libmyodbc5a.so
    DATABASE = veritabani
    DESCRIPTION = MySQL ODBC 5.2 Driver
    PORT = nnnn
    SERVER = x.x.x.x
    UID = kullanici
    PWD = sifre
    CHARSET = latin1
    TRACEFILE = /tmp/myodbc-demodsn.trc
    TRACE = OFF
    ####/oracle/11203/GTW/hs/admin/initdg4odbc.ora####
    HS_FDS_CONNECT_INFO = MySQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5a.so
    set ODBCINI=/etc/odbc.ini
    set HOME=/home/oracle
    ####/oracle/11203/GTW/network/admin/listener.ora####
    LISTENER =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=hostname)(PORT=1522))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=dg4odbc)
    (ORACLE_HOME=/oracle/11203/GTW)
    (PROGRAM=dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/11203/GTW/lib)
    ####/oracle/11203/GTW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = hostname)
    (PORT = 1522)
    (CONNECT_DATA =
    (SID = dg4odbc)
    (HS = OK)
    Oracle Database version is 11.2.0.2.0 and Its on ORAHOME /oracle/11202/BDW and its listener port is 1521.
    I am not able to tnsping port 1522 (dg4odbc) from Database Home. Database configuration file is below.
    ####/oracle/11202/BDW/network/admin/tnsnames.ora####
    dg4odbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1522)))
    (CONNECT_DATA = (SID = dg4odbc))
    (HS=OK))
    Also I have created a DBLINK and tried to get info from MySqlDB but it did not work as usual.
    CREATE PUBLIC DATABASE LINK dg4odbc CONNECT TO "kullanici" IDENTIFIED BY "sifre" USING ’dg4odbc’;
    SQL> select * from kullanici@dg4odbc;
    select * from kullanici@dg4odbc
    ERROR at line 1:
    ora-12154 tns could not resolve the connect identifier specified
    see: [url http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/] ora-12154 TNS:could not resolve the connect identifier specified
    Remember that the database from which you issued the "select * from kullanici@dg4odbc;" is, at that point, acting just like any other client trying to connect to a remote database.
    Thank you so much to everybody who reads and writes this...
    Best regards,
    Eren.
    Edited by: BeymenAdmin on Mar 21, 2013 8:52 AM

  • How to access MYSQL from Oracle 10g and vice versa

    I will like to know how do I create a database link between Oracle 10g and MYSQL database on windows.  I have been saddled with responsibility of ensuring the communications between the 2 databases and I have searched everywhere on google, I could not find anywhere where this is explain explicitly and made work.
    THank you

    In general Oracle offers 2 different products to connect from an Oracle database to a MS SQL Server. The first product is for free and it is called
    As DG4ODBC is a generic connectivity based on ODBC it allows you to connect to many foreign databases as long as you have a suitable ODBC driver.It for example allows you to read from text files but also connect to foreign databases like MS SQL Server or IBM DB2. Due to this wide variety of foreign data sources tha capabilities of DG4ODBC are very limited. It only supports a few Oracle functions that it can directly map to foreign database equivalents. All other functions will be post processed. Post processing means that ALL records from the foreign table(s) will be fetched into the Oracle database and the result is then processed locally - so depending on the amount of data stored in the foreign database it might take a while.
    To be complete here some notes to follow up:
    This Oracle support note describes possible options you have to connect to a foreign database:
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    So you see, to connect from Oracle to MySQL you need to use the Database gateway for ODBC release 11.2 (HSODBC which was shipped with 10g was desupported in march 2008).
    The Database Gateway for ODBC 11.2 (=DG4ODBC) license is included in the Oracle database license and it allows you to connect with a suitable 3rd party ODBC driver to a foreign database.
    For your MySQL connection you only need to download and configure the MySQL ODBC driver from the MySQL web site. Once you can connect with the ODBC driver you could then download and configure DG4ODBC.
    As you didn't post on which platform your Oracle database is installed, here 2 notes for common platforms:
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle (Doc ID 561033.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    - Klaus

  • Error while connecting to Access Database from Oracle

    Dear All,
    I'm trying to connect Oracle 9i to Access Database.
    but im getting the below error while executing query.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQLi did the following thing through to connect the database.
    1) First i made odbc driver called ODBC1
    2) I create the following file on oracle server C:\oracle\ora9I\hs\admin\initodbc1.ora
    i edit the below thing in initodbc1.ora
    HS_FDS_CONNECT_INFO =ODBC1
    HS_FDS_TRACE_LEVEL = ON3) I made some changes in sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= NONE
    before it was *NTS*4) Below are the entries in tnsnames.ora i changed the port from 1521 to 1522 cos 1521 already exists.
    ODBC1.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
    ODBC1.WORLD =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.251) (PORT = 1522)
      (CONNECT_DATA =
          (SID = ODBC1)
      (HS=OK)
    )5) Listener file code
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
         (SID_DESC =
          (PROGRAM = hsodbc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
      )6) after that i created
    SQL> CREATE DATABASE LINK MYSQL CONNECT TO XTRACK IDENTIFIED BY XTRACK USING 'ODBC1.WORLD'
    Database link created.7) Listener Status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 04-MAR-2012 21:26:16
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                04-MAR-2012 20:52:33
    Uptime                    0 days 0 hr. 33 min. 44 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyi did exactly what documentation says and it will not through any error but atlast when i try to access the access database tables it give me the below error
    SELECT * FROM DBO_COMPANY@MYSQL
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYSQLi'm using Oracle9i Enterprise Edition Release 9.2.0.1.0 any help will appreciate.
    Regards
    Moazam
    Edited by: Moazam Shareef on Mar 4, 2012 10:25 AM

    first of all thanks for your support Mr. Kgronau
    I did what u said but still its giving me below error.
    SQL> SELECT * FROM DBO_PATINS@MYSQL
      2  ;
    SELECT * FROM DBO_PATINS@MYSQL
    ERROR at line 1:
    ORA-12154: TNS:could not resolve service namei re-check the service, and restart the listener as you said below are the logs could you help me to solve this issue plz.
    TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora9I\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ODBC1 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = ODBC1)
    INST1_HTTP.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = MODOSE)
          (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA.TADAWI.LOC =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )LISTENER.ORA
    # LISTENER.ORA Network Configuration File: C:\oracle\ora9I\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
    ODBC1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = admin-amc)(PORT = 1522))
    SID_LIST_ODBC1 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = ODBC1)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = hsodbc)
        (SID_DESC =
          (GLOBAL_DBNAME = ODBC1)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = ODBC1)
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\ora9I)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\ora9I)
          (SID_NAME = orcl)
      )then i restart both listener entries (ie lsnrctl start ODBC1 and lsnrctl start ) and both are running fine without any error below are the status.
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:42:09
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                05-MAR-2012 18:32:15
    Uptime                    0 days 0 hr. 9 min. 56 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC2ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=8080))(Presentation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 2 instance(s).
      Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfullyLISTENER.ORA ODBC1 status
    LSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 05-MAR-2012 18:41:52
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=admin-amc)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     ODBC1
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Start Date                05-MAR-2012 18:32:08
    Uptime                    0 days 0 hr. 9 min. 46 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   C:\oracle\ora9I\network\admin\listener.ora
    Listener Log File         C:\oracle\ora9I\network\log\odbc1.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=admin-amc.tadawi.loc)(PORT=1522)))
    Services Summary...
    Service "ODBC1" has 1 instance(s).
      Instance "ODBC1", status UNKNOWN, has 2 handler(s) for this service...
    The command completed successfullyWhere hope i'm near to retrive the access data.
    Regards
    Moazam

  • General error when accessing blob from oracle

    Hi
    I have successfully uploaded and saved images into oracle(8.1.5) table DATA_TYPE(dtid number, iconname varchar2(30), icon blob). When I try to retrieve icon from the database, I get "javax.servlet.ServletException: General error" at:
    PreparedStatement pstmt = myConnection.prepareStatement(mySQL);
    My code looks like this:
    imgModifyDataType.jsp
    <%
    ResultSet myResultSet = null;
    Statement myStatement = null;
    Connection myConnection = null;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    myConnection = DriverManager.getConnection("Jdbc:Odbc:Te","te","te");
    String iconName;
    String pDTID = request.getParameter("dtid");
    String mySQL = "Select iconname, icon from data_types where dtid=?";
    //Following statement throws general error exception
    PreparedStatement pstmt = myConnection.prepareStatement(mySQL);
    pstmt.setString(1,pDTID);
    myResultSet = pstmt.executeQuery();
    iconName = myResultSet.getString("iconname");
    myUpload.initialize(pageContext);
    myUpload.downloadField(myResultSet,"icon","application/x-msdownload", iconName);
    %>
    One more thing. The error occurs only when I try to execute query retrieving blob data. The same set of statements works fine for simple text or numbers.
    Please help

    When you read a BLOB with ORACLE,
    you have to lock the corresponding row.
    This means that...
    - the connection must not be in "AUTO COMMIT" mode
    - you have to do a "SELECT ... FOR UPDATE"

  • Problem accessing Big5 from Oracle

    Hi Guys..
    I am running oracle 8i under 2000. It is set for Big5. I can insert the chineese value in one of th eclolumn but when try ti access it using java/jdbc the method resultset.getString() returns me result in hex something like this 0xE882A..anyone has any idean what's wrong. The column names are chineese and i can query them and get them properly..it's the content that getting hexed. Any help'd be really appreciated.
    Cheers
    Neelesh

    Can you provide more details. Are you using Oracle's
    JDBC driver? Is it the Thin driver? Where is the input
    data coming from? Have you set up Windows 2000 for
    Traditional Chinese? Perhaps you can provide a code sample.
    What is your NLS_LANG setting?

  • Accessing Image from oracle to VB.

    How can access the stored image in oracle 8.0 table to Visual BASIC 6.0.?
    PLease give me the help regarding to its supporting file , if it is using any file, like ocx, dll etc.
    And also give me the links for getting its ocx and dll files.

    Here's an Oracle Magazine article that illustrates how to display an image stored as a blob in the database on a Windows Form:
    http://www.oracle.com/technology/oramag/oracle/05-nov/o65odpnet.html
    Perhaps that will be enough to get you going in the right direction.
    - Mark

  • ODBC connect from Oracle to MySQL!

    Dear All,
    I know its not very much related to the subject of this forum but DBA's often have to perform such tasks.
    I am in process of developing replication between Oracle and MySQL. For this I have planned to create materialized views in oracle that query MySQL database.
    I am using Oracle 11gR1 on Linux for Oracle Server and MySQL is on windows based server version is 5.1.
    I am stuck at the very first step that is to create a database link between Oracle and MySQL.
    On Oracle's server, I did the following:
    Installed unixODBC rpm (Installed successfully)
    Installed mysql-connector-odbc (Installed successfully)
    when i write this command odbcinst -j it gives the following information
    unixODBC 2.2.11
    D|RIVER........... : /etc/odbcinst.ini ; (my comments : Files exists)
    SYSTEM DATA SOURCE : /etc/odbc.ini (my comments : File exists )
    USER DATA SOURCE : /root/.odbc.ini (my comments : File DO NOT exists)
    Now i tried to add the following entry in the file /etc/odbc.ini
    [bssdata]
    Driver = MySQL ODBC 3.51 Driver
    DATABASE = bssdata
    DESCRIPTION = views_on_bssdata
    PWD =
    PORT = 3306
    SERVER = 192.168.0.68
    UID = root
    Now when i try to check the connectivity with the command:
    isql -v bssdata root
    Error: data source name not found, and no default driver specified.
    ERROR: Could not SQLConnect
    Anyone have tried this before, please help me out of it.
    Regards, Imran

    Hope these links help you :
    http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/
    http://sysinfo.bascomp.org/2008/03/setting-oracle-heterogenous-service-mysql-to-oracle/
    http://www.idevelopment.info/data/Oracle/DBA_tips/Heterogeneous_Services/HETERO_2.shtml
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    Regards
    Rajesh

  • How to access ,Oracle 7.x,SQL server,MS access data from portal 3.0.7

    hi,
    i am sorry to repost it . but
    we r badly in need of accessing data from Oracle 7.x,SQL Server and access to Portal3.0.7 Applications.
    pl. help us.
    null

    Hi swati,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • Date Format in VC from Oracle Database

    Hi all,
    I created one BI JDBC system to access table from Oracle. I have written one query using SQL Editor. That Query displays the Valid From date and Valid To date. If I test the data service it displays the date correctly what we have given . But whenever I run that model, it displays Jan 01,2000 instead of all date. What is the problem?
    The Date format in oracle is YYYY-MM-DD HH:MM:SS.0 .Whether VC is support this format or not? Why it is taking Jan 01,2000?
    Help me in this regard. How can I resolve my problem?
    Thanks& Regards,
    Hemalatha J

    hi
    i think you have to change your web service interface, from Date to Time
    so you can use time format function
    holp it make help
    good day

  • BAPI From ORACLE Form 6 i

    Hi all,
    I am trying to learn BAPI.
    I have created one simple BAPI for material Info, in which i am giving material Number (MATNR) as input and collecting Info like MATNR,WERKS,MBLNR,MENGE,MEINS of that material.
    BAPI is working fine in SAP and i am getting correct output.
    But now i want to access this from ORACLE Form 6 i.
    Thanks in advance.....

    Not yet answered

  • BAPI From ORACLE

    Hi all,
    I am trying to learn BAPI.
    I have created one simple BAPI for material Info, in which i am giving material Number (MATNR) as input and collecting Info like MATNR,WERKS,MBLNR,MENGE,MEINS of that material.
    BAPI is working fine in SAP and i am getting correct output.
    But now i want to access this from ORACLE Form 6 i.
    Thanks in advance.....

    Hi Dhwani,
    what you need to do is what Oracle call "Calling External Procedures". They support a variety of differing technical ways of doing this including via a .DLL, a Java Library and Web Services.
    Unfortunately I am not aware of which of these capabilities are available in Forms 6.
    I found <a href="http://download-uk.oracle.com/docs/cd/B14117_01/appdev.101/b10795/adfns_ex.htm">this</a> for Oracle 10g using C or Java.
    And <a href="http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html">this one</a> shows how to call a web service although it does so via a java proxy.
    Cheers
    Graham

Maybe you are looking for

  • Error while reversing Material Invoice document.

    when i am trying to Reverse the Material Invoice receipt in MIRO I am getting the following error "Balance not zero: 757.86-  debits: 21,171.86  credits: 20,414.00" Message no. M8534 The actual situation is : The total Invoice amount is Rs 20414 Mate

  • Video and audio files from dvd using FCP

    Hi Trying to get footage from a dvd using fcp. I can import the clips ok using file >import but they have no audio with them and the audio folder on the dvd is blank...any ideas???????? cheers

  • Getting Error: java.lang.IllegalArgumentException: can't parse argument 0

    HI All, I am implementing the Message Pool in NWDS. I have two InputFields: Firstname and Lastname. and i have a method name: CheckMandatory which takes one argument as String. I have implemented this Method in the StartView. Now when i am leaving th

  • Cannot sync iCal and Address Book to iPod

    I have an iBook and a 30g video iPod. I have plenty of contacts in my Apple address book and plenty of info in iCal, but when I try to load them onto my iPod, it says I must ADD contacts and calendars. It doesn't seem to recognize my contacts and my

  • A Scrolling Problem

    Hi all I have a little problem I wana get fixed...its a little bit long problem so better help me out with this: A swing application that has four textfield which accepts pure string and saves it to a database..theres a button when clicked will show