Oracle 8 and 8i ODBC drivers

I have written a win32 client application with Visual C++ for accessing an oracle 8.0.5 server on a linux platform.I have used an ODBC connection (MFC classes CDatabase e CRecordset). In application I have used a recordset on a view for updating the view's base table. On a view I have defined an instead of update trigger. All works fine. Now I must migrating it on an oracle 8.1.7 oracle server (or on win2k or linux). End now start the problem. On 8i server, after executing the query on the view, the function SQLGetStmtOption with SQL_CONCURRENCY param return SQL_CONCUR_READ_ONLY, making the recordset read only and i don't modify the view. What's the differences between Oracle 8 and Oracle 8i ODBC driver? Why with Oracle 8i I don't modify a view?
null

Executed query is
SELECT * FROM VIEW_NAME WHERE ID = value
where ID is a primary key of the only key preserving table of the view.

Similar Messages

  • Difference between oracle and BEA JDBC Drivers

    One of our application plan to move from BEA JDBC drives to Oracle drivers.
    We use Weblogic 9.2 as application server and Oracle 10g as the database.
    Questions
    =======
    1. What is the basic difference between these drivers and how do we decide which one to use.
    2. What can be the impact of moving to Oracle drives from BEA on the overall application...?
    3. Other than change in the jdbc.datasource.url = jdbc:oracle:thin:@, do we need to take anything else into consideration.
    Pls. let me know in case any further details are required.
    Thanks in advance.

    "1. What is the basic difference between these drivers and how do we decide which one to use."
    They are totally different products made independently by different companies.
    "2. What can be the impact of moving to Oracle drives from BEA on the overall application...?"
    As long as your application uses standard JDBC APIs, the impacts will be minimized, and
    unpredictable, some running faster, some slower... Any bug list for one driver will be
    different than for the other. If you use any driver-specific extension APIs, they won't
    be in the other driver.
    "3. Other than change in the jdbc.datasource.url = jdbc:oracle:thin:@, do we need to take anything else into consideration."
    Also changing the diver/datasource class name, and reviewing any arguments/driver properties.
    Property names and functions are usually driver-specific.
    Joe

  • How to load data from sysbase to oracle using sysbase odbc drivers??

    Hi ,
    I am trying to create an interface from sysbase to oracle, using LKM sql to orcle and IKM SQL control append, IKM SQL incremental append,CKM oracle . when we are running the interface we are getting below error
    com.sunopsis.sql.SnpsMissingParametersException: Missing parameter: C1_WORKGROUP_ID
    SQL: insert into ODIUSER.C$_0AGENTLOGINLOGOUT (      C1_WORKGROUP_ID,      C2_USER_ID,      C3_CREATEDT,      C4_UPDATEDT,      C5_REASONID,      C6_LOGOUTDT,      C7_LOGINDT,      C8_SERVICE_ID ) values (      :C1_WORKGROUP_ID,      :C2_USER_ID,      :C3_CREATEDT,      :C4_UPDATEDT,      :C5_REASONID,      :C6_LOGOUTDT,      :C7_LOGINDT,      :C8_SERVICE_ID )
         at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java:439)
         at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java:1926)
         at com.sunopsis.sql.SnpsQuery.addBatch(SnpsQuery.java:122)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3034)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:729)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)

    Hi all,
    Can any one help me in doing interface from sysbase to oracle??

  • ODBC Drivers for Oracle 8.1.6 Doesn't work on Windows ME

    Hello. I am in the need of running some aplications (ArcView, in fact) that needs connection to an Oracle 8.1.6 installed on a sun ultra machine. My client machine runs that awful Windows ME.
    The matter is that i've tried installing the Oracle 8i Client, the Oracle 8i Enterprise Manager, and even the Oracle Enterprise Manager Cache (that had worked to me earlier over Win98).
    All of that clients use the Oracle Universal Installer (Java-Based) and when is time for choose the oracle_home for installation that doesn't appear, just the box ready for enter the destination path. I did that, the installer reads the package list and then there are en error message: "There was a problem in the staging area. Please check the source an destination paths are correct". And, of course, that paths are good. Trying to install just the odbc driver (downloaded), causes the same. Anyway the driver needs the net client.
    I've tried installing Oracle 8 client (8.0.4), but the drivers doesn't work at all.
    the microsoft ODBC driver is just for 7.3 versions of Oracle, and is too out of date for my purposes.
    Any help will be appreciated. Thanks in advance.

    Last I heard, the Oracle client wasn't certified on Windows ME. There are folks who have posted to the Oracle newsgroups with registry hacks to work around the problem if you're interested in going down that path.
    Justin

  • Oracle 9i ODBC Drivers on Windows 7 Enterprise 32 bit

    Hi,
    Can any one help me with the information, If the Oracle 9i ODBC drivers supported on Windows 7 Enterprise 32 bit, Access 2007 as the front end and Oracle 9i database as the backend.
    If the 9i drivers are not supported on Windows 7 Enterprise 32 bit which version is the supported version.
    Thanks
    Srini

    There is no driver for windows 7 (32-bit) to connect Oracle 9i (9.1) for .Net.
    .NET libraries for Oracle and OLE DB providers for Oracle both are available for higher version
    Oracle.dataaccess.client http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html
    but check this below link
    http://www.oracle.com/technetwork/database/windows/downloads/index.html

  • Windows 2008 64-bit and Microsft ODBC for Oracle problem

    Hello,
    I am trying to create ODBC connection to Oracle 9i Database on remote server. I am using Windows 2008 64-bit but it is not showing Microsoft ODBC Driver for Oracle. Could any one suggest what to do?\\
    Thanks

    GQ wrote:
    Hello,
    I am trying to create ODBC connection to Oracle 9i Database on remote server. I am using Windows 2008 64-bit but it is not showing Microsoft ODBC Driver for Oracle. Could any one suggest what to do?\\
    ThanksInstall the Oracle client and use the Oracle driver. You're going to need it whether you use the MS driver or Oracles. ODBC drivers do not work apart from the client of the underlying database product.
    When you do the install, you will need to do a custom install and specifically select for the Windows components.

  • Can't Find ODBC drivers to link MS Access 2013 and MySQL

    Can't Find ODBC drivers to link MS Access 2013 and MySQL.
    Is one available?
    Thanks,
    Larry

    Could to associate the problem at Office 2013?
    I just installed the ODBC Driver; The data source machine was available; When selected I had received the message. When it was selected I had received the message:
    "ODBC -- falha na chamada.
    [Microsoft][ODBC Driver Manager] O DSN especificado contém uma incompatibilidade de arquiteturas entre o Driver e o Aplicativo (#0)"
    In english, could to say: "ODBC -- fail on call.
    ... The specified DSN contains a architectural incompatibility between Driver and App (#0)"
    I don't know yet the reason for this. Anyone knows?

  • How to install ODBC Drivers in Oracle

    Hello All,
    I want to install ODBC Drivers (from Oracle vender, Not from the DataDirect ).
    I have downloaded the ODBC Drivers for Sparc( from official Oracle website) but while installation it is asking for DriverManagers Installtion..
    Where Can I get this Driver Manager........
    Please help me how to install ODBC Drivers on Unix platforms....
    Sridhar.

    Please help me how to install ODBC Drivers on Unix platforms....You should be able to install them as a component of your client (or server) installation. Just use the Oracle Installer to add them.
    ~Jer

  • Installing 32 bit Oracle (w/ odbc drivers) on a 64 bit OS

    We have a server running Windows 2008 Server (64bit). We have a database that we use to run reports through coldfusion, which requires a 32 bit odbc dsn connection. When i attempt to install the 32 bit oracle (ive tried both 10.2.03 and 11g R1) the installation seems to complete, but the odbc driver is not being recognized. I checked the registry (hklm\software\odbc) and the odbc administrator and the oracle driver is not listed in either location.
    Is this fallout from the Program Files (x86) installation?
    Any help would be greatly appreciated.
    Thank you,
    Paul

    How do you get the 32bit client to communicate with the 64bit Oracle instance on the same windows box? After installing the 64 bit db and client (on a developer desktop), I installed the 32 bit client to a different oracle home. I could not get it to connect to the listener - what am I doing wrong? Should I reinstall it to the 64bit home - I'm afraid that'll kill everything though.
    Also, I think I'm correct in this, but not sure: any 32bit app must use the 32bit client on the 64bit box. MS Access needs 32bit ODBC, which needs 32bit client, etc.
    Thx,
    Jeff

  • Problem with Installing 8.0.5 ODBC Drivers

    I have been having a problem getting the ODBC for the 8.0.5 client. The installation runs fine, I use Net8 Easy Config and setup and running. I setup the datasources and sucessfully "Test" the connection with the login and password. When I go to the MS ODBC control panel, I see the Oracle ODBC, select it and then nothing happens. It just stops setting up the ODBC and MS Access cannot access the server.
    Any suggestions

    The version is the 8.0.5.10.0 ODBC drivers. I am assisting another user in this process and I do ot have the version info.
    What I did was install the 8.0.5.0.0 originally and used the Oracle installer to install the 8.0.5.10.0 ODBC and stepped the user thru the same on his end. After installing the Net8 utility test fine, it's the control panel aplet that fails.

  • Installing ODBC Drivers on a Server with multiple users.

    We are trying to install ODBC drivers on our web server and want to know what is the minimum we can install and be able to add a DSN through the MS ODBC Administrator. This is a server that is used by multiple companies and we do not want to do something that will affect them.
    The oracle installation does not warn you when it overwrites existing files, which is why we cannot simply install everything. For example, on my test machine it trashed the Java installation without asking or telling me. I discovered it this morning when I tried to go to a site that uses Java. That was a low risk on the SQL server, because we did not have Java installed. Other elements, though, cannot be risked in that fashion. We have to find out what files are required in order to solve the problem.
    The oracle installation does not warn you when it overwrites existing files, which is why we cannot simply install everything. For example, on my test machine it trashed the Java installation without asking or telling me. I discovered it this morning when I tried to go to a site that uses Java. That was a low risk on the SQL server, because we did not have Java installed. Other elements, though, cannot be risked in that fashion. We have to find out what files are required in order to solve the problem.
    Version 9i on a Windows 2003 Server.

    1) I’m not certain about the overwrite vs separate machine. What happened is that it installed its own Java, which was much older than the Java previously installed. Following the oracle installation, internet explorer was no longer able to find Java at all, prompting for a new Java installation. During the installation, no mention was made of the changes that were being made.
    2) Each company has its own account on our server, its own instance of the database, etc. nowhere in the oracle release notes or the installer could I find anything that provided for a user-limited installation: it was global. Even though the oracle installation suggested, and I accepted, unique folders for its installation targets, the problems mentioned occurred. The web server it wants to install is not possible to be user-limited: it wanted to take over http for the machine.

  • Differences between Oracle 10G Client ODBC from 10.1.x to 10.2.x (datatype)

    What differences where implemented to Oracle 10G Clients ODBC connectivity drivers between 10G Release 1 and Release 2 concerning datatypes?
    I have an application that performs a qualified read returning a group of records (this is successful) and then performs a delete on each record read. No errors occur on completion of the application. When using release 1, the records are physically removed. Using release 2 a portion of the same group of records are not removed. The key for the table is a numeric field with six decimal places (not my design). My applications C code defines the field as a DOUBLE.

    I certainly agree that something changed. The question is whether it was a change in function or not. With a lot of these sorts of errors, tracking down the "source" of the error involves finding a change in a piece of code that allowed what was always possible to actually occur. That is, you may have two pieces of code that are functionally identical but that end up allowing the sorts of "round off" errors that are always possible when using doubles. The driver might, for example, now be going down a code path where it shifts a number to the right or left rather than dividing or multiplying by 2, which may make this sort of thing more likely. Functionally, given that doubles don't guarantee infinite precision, these operations are identical, but one may be significantly more likely to cause problems.
    Is your application using the ODBC API directly? Or is it going through a higher-level API? If you are going through ODBC directly, you might look to see whether the data types that are being returned by the driver to your code are the same across driver versions.
    Justin

  • Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables

    Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
    However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from “my_table”).
    The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. I’ve done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
    The problem appears both with ANSI and UNICODE PostgreSQL drivers.
    Any suggestion of how workaround this problem?
    thanks in advance,
    Raoni

    Dear all,
    I’ve tried different tracing levels with out success. The log file does not seem to be created by Oracle.
    Looking closer to the debug and comm logs from the driver 8.01.0200, I’ve found out that the problem was generated after a table wasn’t found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error “ERROR: current transaction is aborted, commands ignored until end of transaction block”. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
    Following the Postgres odbc developers suggestion, I’ve installed the psqlODBC v 08.02.0002 and I’ve got a completely different result.
    As before, the simple query “select * from my_table@hsodbc” returns the result using SQL*Plus clearly faster than before.
    Doing the query “select * from all_tables@hsodbc” the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
    Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
    Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: “can’t read from memory address XXXXX”
    All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
    To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldn’t see any table as before and doing Select * from all_tables@hsodbc we’ve got the message:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from HSPG
    no rows selected
    On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
    The encoding for all DBs is UTF8.
    Any ideas of where could be the problem?
    regards,
    R.

  • Procedure runs from 9i odbc drivers but not from 10g.

    Hi
    i have a old vc++ application which calls a stored procedure.
    This application has been in use for a long time.
    earlier the Database server and client were both oracle 9i.
    now we moved the server and some of the clients to 10g.
    The application still works from machine with 9i clients (with older odbc drivers)
    but from machines with 10g client (with newer odbc drivers) i get the following error.
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    ( ) - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table avg count current exists max min prior sql stddev sum
    i also get:
    [Oracle][ODBC][Ora]ORA-06550: line 1, column 16
    The procedure has three parameters which it recieves as type NUMBER:
    CREATE OR REPLACE PROCEDURE "TEST"."MYPROCNAME"
    (prm1 NUMBER, prm2 NUMBER, prm3 NUMBER)
    AS
    /*...body of the procedure...*/
    The process flow in application code (vc++) goes something like this:
    SQLBindParameter(handelToSTMT,1, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm1, 0, NULL);
    SQLBindParameter(handelToSTMT,2, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm2, 0, NULL);
    SQLBindParameter(handelToSTMT,3, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm3, 0, NULL);
    SQLPrepare(handelToSTMT,"{call myProcName(?, ?, ?)}",SQL_NTS);
    SQLExecute(handelToSTMT);
    Is ther some change in how 10g odbc parameter bindings work?
    Can it be possible to change the procedure to compensate for that?
    (somehow i can't get the formatiing right, even after multiple edits)

    This is your post should look like -
    Hi i have a old vc++ application which calls a stored procedure. This application has been in use for a long time. earlier the Database server and client were both oracle 9i. now we moved the server and some of the clients to 10g. The application still works from machine with 9i clients (with older odbc drivers) but from machines with 10g client (with newer odbc drivers) i get the following error. PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ( ) - + case mod new not null others <an identifier> table avg count current exists max min prior sql stddev sum i also get: [Oracle][ODBC][Ora]ORA-06550: line 1, column 16 The procedure has three parameters which it recieves as type NUMBER:
    CREATE OR REPLACE PROCEDURE "TEST"."MYPROCNAME" (prm1 NUMBER, prm2 NUMBER, prm3 NUMBER)
    AS /*...body of the procedure...*/ The process flow in application code (vc++) goes something like this:
    SQLBindParameter(handelToSTMT,1, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm1, 0, NULL);
    SQLBindParameter(handelToSTMT,2, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm2, 0, NULL);
    SQLBindParameter(handelToSTMT,3, SQL_PARAM_INPUT, SQL_C_SSHORT, SQL_INTEGER, sizeof(parm1), 0, &parm3, 0, NULL);
    SQLPrepare(handelToSTMT,"{call myProcName(?, ?, ?)}",SQL_NTS);
    SQLExecute(handelToSTMT);Is ther some change in how 10g odbc parameter bindings work? Can it be possible to change the procedure to compensate for that?
    -hope this will help all the user to go through your script.
    Regards.
    Satyaki De.

  • Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

    Getting the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
    [Microsoft][ODBC driver for Oracle]Wrong number of parameters
    I have a Stored Procedure within a package that has no input parameter and 2 output parameters..
    oConnEngineer.CursorLocation = 3
         oConnEngineer.Open sConnectionString
         oCmdEngineer.ActiveConnection = oConnEngineer
         oCmdEngineer.CommandText = "{Call ENG_TAILORMADE.USER_PKG.GET_ENGINEER_LIST(?,{resultset 100, out_ENGINEER_ID, out_ENGINEER_NAME})}"
         oCmdEngineer.CommandType = 1
         Set rsEngineers = oCmdEngineer.Execute()
    Any suggestions?

    Getting the following error:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
    [Microsoft][ODBC driver for Oracle]Wrong number of parameters
    I have a Stored Procedure within a package that has no input parameter and 2 output parameters..
    oConnEngineer.CursorLocation = 3
         oConnEngineer.Open sConnectionString
         oCmdEngineer.ActiveConnection = oConnEngineer
         oCmdEngineer.CommandText = "{Call ENG_TAILORMADE.USER_PKG.GET_ENGINEER_LIST(?,{resultset 100, out_ENGINEER_ID, out_ENGINEER_NAME})}"
         oCmdEngineer.CommandType = 1
         Set rsEngineers = oCmdEngineer.Execute()
    Any suggestions?

Maybe you are looking for

  • How do I get an iTunes gift redemption code to set up my new Apple ID?

    I have set up a new Apple ID for my iPhone.  I don't have a credit card, so I was trying to use the iTunes gift a friend bought me as my payment method.  But every time I click on the link to redeem the code, it takes me to iTunes, which tells me I h

  • HT4363 How to get a refund for movie rental

    I rented a movie via appleTV and after commiting to the rental found I needed to wait 3 hrs for the download to complete before I could watch.  I came back 2 days later and discovered that no progress had been made.  I changed to lower resolution on

  • Why does drawing of ellipses appear inaccurate?

    Below is a very simple applet: it defines two points (px, py) and (qx, qy), finds the distance (radius) between those two points, and then plots the point (px, py), along with the circle centered at (qx, qy) with radius radius. Mathematically, the ci

  • Visibility flag in XML form

    I'm trying to find the property for 'Invisible Flag Set' that is seen in the Time-based publishing Report.  I want to create a 'Message Expired' label on the RenderListItem for XML forms that goes off the 'Invisible Flag Set' boolean value.  This wil

  • What is re-consilation,and how we will do reconsilation.

    Hi Experts,        i am taking SAP-BW training.so pls send answer for my questions.       Thank you.