Access remote MonetDB from Oracle using ODBC

Hello,
I really need your help, I have been trying for more that one week to figure out what is the problem without success
Here is the details of my problem:
I have oracle  11g installed on machine1 (ubuntu 64bit) , and I have MonetDB installed on machine2 (ubuntu 64bit, ip= 192.168.56.101)
I need to access MonetDB database from oracle.
I followed the configurations steps but I get always the following error:
select "id" from "test"@monetdb;
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][MonetDB][ODBC Driver 11.11.11]Client unable to establish connection
{08001}
ORA-02063: preceding 2 lines from MONETDB
I installed unixODBC on the machine1 and I used MonetDB ODBC driver which generates the following odbc.ini file
[monetdb]
Description = MonetDB
Driver = /usr/lib64/libMonetODBC.so
Host = 192.168.56.101
Port = 50000
Database = demo
User = monetdb
Password = monetdb
Debug =
Here are my configurations:
tnsnames.ora:
monetdb =
   (DESCRIPTION =
      (ADDRESS =
         (PROTOCOL = TCP)
         (HOST =localhost)
         (PORT =1521)
      (CONNECT_DATA =
         (SID=monetdb))
      (HS = OK))
Listner.ora
SID_LIST_LISTENER=
   (SID_LIST=
      (SID_DESC=
         (SID_NAME=monetdb)
         (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
         (PROGRAM=dg4odbc)
         (ENVS=LD_LIBRARY_PATH=/usr/lib64:$ORACLE_HOME/lib)
In $ORACLE_HOME/hs/admin I created the file initmonetdb.ora
HS_FDS_CONNECT_INFO=monetdb
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_LANGUAGE=american_america.we8iso8859p1
set ODBCINI=/etc/odbc.ini
when I do lsnrctl start i get the following
Log messages written to /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date                26-OCT-2013 01:32:37
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/OracleUbuntu/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "monetdb" has 1 instance(s).
  Instance "monetdb", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
any ideas why I get this error??
Regards
Baraa

Hi,
Firstly, try to configure your gateway listener on another port than 1521 as it is the default one for database. Don't forget to change also the port in TNSNAMES.ORA.
Then use the host machine or ip address rather than the local host in the LISTENER.ORA and TNSNAMES.ORA.
Avoid to use  $ORACLE_HOME in the ENVS from LISTENER.ORA but use a complete PATH.
Then test your ODBC connection outside Oracle. What is the result?
Try to get result of the following commands on the Oracle machine1 :
$cd /usr/bin
$./odbcinst -q -d
$./odbcints -q -s
Change parameter in gateway init file:
HS_FDS_TRACE_LEVEL=DEBUG
Execute your SELECT statement:
select "id" from "test"@monetdb;
Get the gateway trace file in /u01/app/oracle/product/11.2.0/dbhome_1/hs/log and send us
Thanks
Regards,
Mireille MEGE

Similar Messages

  • Accessing mysql database from oracle using dg4odbc

    I've been trying to create a database link from a MySQL database to Oracle using the Oracle dg4odbc gateway. I downloaded and installed DataDirect's ODBC package which includes mysql ODBC library (ddmysql24.so) and a generic ODBC libary (libodbc.so). After creating the DSN in odbc.ini, I tested it and it can connect to the mysql database. Then I created the init{SID}.ora file in hs/admin directory, added dg4odbc lines in the listener.ora, and added lines in tnsnames.ora. Then I tnspinged the new SID with success. Finally, I created the database link. However, when I tried to access the database link using the commands "select * from mdl_user@moodle;", I got the ORA-28500 error like the following:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [DataDirect][ODBC 20101 driver][20101]You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right
    syntax to use near '"mdl_user"' at line 1
    ORA-02063: preceding 2 lines from MOODLE
    My mysql database is utf8 by default. Do I have to use latin1?
    It seems to me that the dg4odbc translates the sql commands incorrectly (having double quotes around the selected table).
    Any help is greatly appreciated.
    Jeffrey

    The syntax error occures for example when MySQL isn't running in ANSI mode and thus does not allow double quotes around the objects. DG4ODBC 11.1.0.6 by default always adds double quotes to table/column/view names.
    A quick test to check if you hit the double quote issue would be to set the MySQL DB into ANSI mode:
    - Open SQL*Plus
    - execute:
    DECLARE
    ret integer;
    c integer;
    BEGIN
    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@moodle;
    DBMS_HS_PASSTHROUGH.PARSE@moodle(c, 'SET SESSION SQL_MODE=''ANSI_QUOTES'';');
    ret := DBMS_HS_PASSTHROUGH.EXECUTE_NON_QUERY@moodle(c);
    dbms_output.put_line(ret ||' passthrough output');
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@moodle(c);
    END;
    - Now run your select statement
    => if it now works, you can permanently change the MySQL config to be ANSI compliant or you can apply the 11.1.0.7 patchset to DG4ODBC.

  • Accessing SQL Server from ORACLE using Transparent Gateway

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

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

  • Accessing Discoverer Reports from Oracle Apps

    Hi all,
    Requirement: Accessing Discoverer Reports from Oracle Apps
    Discoverer: 11g
    Oracle Apps: 12i
    When I am trying to access the Discoverer Reports from Oracle apps, again it is asking for Oracle Apps Login details. Can we have any other option that can directly connect to the viewer without any intermission. Please its urgent requirement.
    ThanQ,
    ABR

    Hi Arun,
    When I am trying to access the Discoverer Reports from Oracle apps, again it is asking for Oracle Apps Login details. Can we have any other option that can directly connect to the viewer without any intermission. Please its urgent requirement.Pl refer section *6.4. Set Applications profile options in Oracle E-Business Suite* from MOS tech note
    *Using Discoverer 11.1.1 with Oracle E-Business Suite Release 12 [ID 1074326.1]* and make sure that all profile options are set to a valid value.
    thanks,
    X A H E E R

  • Accessing ContentDB Webclient from Oracle Portal

    Hi All,
    Is there a way to access ContentDB webclient from oracle portal application.We are new to oracle portals. Please let us know if anyone has idea about how to proceed on developing it to access ContentDB webclient.
    Thanks,

    I could be completely wrong here, but I believe you may be able to write a PDK portlet that uses the Content DB API.
    The path we are taking is using Webcenter with a JSF bridge and the Content DB (CDB) API. In JDeveloper, we have multiple samples of the ADF/JSF-CDB API functioning. We then moved on and have JHeadstart producing the ADF/JSF; which in turn uses the CDB API. We are currently testing deployment.
    Our next step will be to link it with Webcenter and we will have should then have our portlet.
    Hope that helps.
    Steve

  • How to insert and view images from oracle using jsf

    Can anyone please give me some code example or link of article explaining that how can i insert and view images to/from oracle using jsf?
    Thanks in advance.

    You mean you want to view image data stored in the database, right?
    Create a servlet that streams the image data to the response (setting the appropriate content-type), then reference this servlet in your img tag. Here is an example:
    http://balusc.blogspot.com/2007/04/imageservlet.html
    Storage is something different. What exactly don't you understand there? Perhaps you want a file upload component?

  • Cannot access remote FoxPro dbf file using jdbc-odbc and system DSN

    Hi all,
    I have a foxpro database sitting on remote server (netware server). the dbf folder is shared and I can access it using windows explore on my weblogic server (windows 2003). I created a system dsn for that. I can access the database from the a stand alone java program using
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection surgConn = DriverManager.getConnection("jdbc:odbc:FoxDB", " ", " ");
    But when I use the same thing in my weblogic 8.1 application, I cannot access the database. I didn't config any data source in weblogic 8.1
    Why?
    When I try this on my own computer - windows 2000, weblogic 8.1 workshop. remote foxpro database dbf folder. it works.
    Any idea?
    Thanks very much

    Laura Ren wrote:
    Hi all,
    I have a foxpro database sitting on remote server (netware server). the dbf folder is shared and I can access it using windows explore on my weblogic server (windows 2003). I created a system dsn for that. I can access the database from the a stand alone java program using
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection surgConn = DriverManager.getConnection("jdbc:odbc:FoxDB", " ", " ");
    But when I use the same thing in my weblogic 8.1 application, I cannot access the database.What exception do you get? WebLogic is just like any other Java App. That code
    should work OK (though I have a better way)... Be warned that the JDBC ODBC
    bridge is specifically dangerous. It is not threadsafe.
    Joe
    I didn't config any data source in weblogic 8.1
    Why?
    When I try this on my own computer - windows 2000, weblogic 8.1 workshop. remote foxpro database dbf folder. it works.
    Any idea?
    Thanks very much

  • 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

  • Connection problem while invoking remote method from client using oracle 8.1.6 server

    while using a connection object to make connection to oracle in all remote methods(in EJB)only the first remote method called from the EJB client is getting invoked and the connection stops.It gives me COMM_FAILURE while invoking the second method in oracle 8.1.6.Help me out in this aspect immediately please.

    r singh wrote:
    >
    I am getting "No Suitable Driver" exception from WebLogic 6.1 (sp1) at
    the start up of the server.
    My settings:
    - WLS 6.1 on a solaris 8 machine and Oracle 8.1.6 on a WIN2K machine.
    - I created the connection pool for oracle with the following
    parameters:
    connection name: OracleConnectionPool
    url: jdbc.oracle.thin:@myOracleServer:1521:myDBName
    driver class name: oracle.jdbc.driver.OracleDriver
    properties: user=scott
    password=tiger
    - I have also downloaded classes12.zip and nls_charset12.zip from
    Oracle.com
    and have placed under $WL_HOME/lib.
    - I have added $WL_HOME/lib/classes12.zip:$WL_HOME/lib/nls_charset12.zip
    in
    front of the $CLASSPATH in the startWeblogic.sh script. The echoed
    classpath
    from the startup script is:
    /opt/tools/bea/wlserver6.1/lib/classes12.zip:/opt/tools/bea/wlserver6.1/lib/nls_
    charset12.zip:/opt/tools/bea/wlserver6.1:/opt/tools/bea/wlserver6.1/lib/weblogic
    _sp.jar:/opt/tools/bea/wlserver6.1/lib/weblogic.jar
    - Still I get the error:
    <Jan 16, 2002 1:38:45 PM EST> <Error> <JDBC> <Cannot startup
    connection pool "Or
    acleConnectionPool" No suitable driver>
    Can somebody point me out if i am doing anything wrong here.
    Thanks.
    RamanandHi,
    Sure. Your URL should be "jdbc:oracle:thin:@myOracleServer:1521:myDBName"
    not "jdbc.oracle.thin:@myOracleServer:1521:myDBName"
    Joe

  • How to access remote tables on Oracle from Access fron end?

    Note: Access application and access tables are in separate .mdb files.
    I've successfully migrated my Access 2000 tables to Oracle. And there were no errors during the migration. The two original Access tables were renames to tblBOMdetail_L and tblPartInfo_L and two new linked tables were created with the _R name. Mapping queries were created for tblBOMdetail and tblPartInfo.
    However, when I launch my Access application, I get the following error: "The Microsoft Jet database engine cannot find the input table or query 'tblPartInfo'. Make sure that it exists and that its name is spelled correctly."
    Is there something more that I have to do to enable this connection. I already have the necessary ODBC connection set up.
    Thanks.

    Hi ,
    The first thing you need to verify is that you can view the data in the tables with _R appended to their name. This will verify whether the ODBC link is set up correctly and pointing at the correct Oracle table in the Oracle database.
    Another point. Are you still using 2 .mdb files? If so since your data is now in Oracle it may be prudent to use only one .mdb.
    If you need more help then please contact [email protected]
    John

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

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

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

  • Connecting ms sql server from oracle using db link

    Hi,
    Source : Oracle 11g on linux
    destination : ms sql server 2005
    i need to create the db link from oracle to ms sql server to view the tables , is it posibble without configuring the gateways( as looks like it is licenced product)
    Please let me know any alternative to achive this
    Thanks
    PGR

    There are 2 gateway - the commercial Database Gateway for Ms SQl Server which requires a license and the Database Gateway for ODBC which is for free. The license for DG4ODBC is included in your database license. You only need to install a suitable ODBC driver on your Linux box (for example use the MS SQl Server ODBC driver for Linux - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install  
    [Article ID 561033.1]
    - Klaus

  • Accessing SQL Server from Oracle

    I found an article:
    http:www.databasejournal.com/features/oracle/article.php/3442661
    It shows how to setup a connection from Oracle to SQL Server.
    I am new to Oracle Using SQL Loader and PL/SQL.
    I would like to use the SQL Loader in Oracle to load a table in SQL Server. It is my understanding that a ctl file is used and is called by an Oracle application.
    I would not have an Oracle application. I would like to use the ctl file to load the SQL Server table. Can someone point me on how to use the ctl file for SQL Server?
    Also, in PL/SQL would there be a connection string to connect to SQL Server when accessing a table.
    Is there a book or some documentation that would address the above?
    Thanks in Advance.

    that article shows you how to access SQL Server database through Oracle, therefore you have no need to use SQL Loader to load data from SQL Server bcos it can be queried directly by using simple select statement.
    If you want to load the data into Oracle just use CREATE TABLE ... AS SELECT ...
    in PL/SQL, what you need is the database link.
    Cheers,
    NH

  • Accessing remote table from another R/3 system

    Hi,
    We are running our production on ECC 5.0 but we ABAP web dynpro environment on ECC7.0 portal box. We want use ABAP web dynpro for publishing some application through portal. I have read many document regarding accessing remote systems through RFC enabled function module but for the we need have function module in both system. Is it any way possible to access table from remote R/3 system programmatic without any call for function module. Please advice.
    Thanks in advance,
    Ravi Prakash

    hi,
    you should use a remote enabled function no matter what to read db table on other system
    grtz,
    Koen

  • Error while inserting into MS-SQL Server from Oracle using HS

    Hi,
    I am using hetrogeneous connection.
    I want to insert into MS-SQL Server Table by selecting from Oracle Tables.
    insert into tableone@mssql select * from table2;
    Table2 is in oracle database.
    while executing i'm getting
    ORA-02025: all tables in the SQL statement must be at the remote database
    Please guide me.
    Regards
    Salih KM

    some guy come up a solution by himself before. go ahead and try it
    ORA-02025 error while insert into emp@custard select ....

Maybe you are looking for