OCCI in Oracle version 9.2.0.1.0

Dear Mates,
I am in big problem. I need to write a simple CPP program in Visual C++ 6.0 which will insert data in oracle database 9.2.0.1.0. I came to know that I need to do it through OCCI. I have downloaded the document "Oracle C++ Call Interface-Programmer’s Guide-Release 2 (9.2)". As per this document I need to run demo_rdbms.mk which can be found at $ORACLE_HOME/rdbms/demo. However, I am not being able to find that file at that location. Please advise what I should do. If any one can send me step by step decsription to do the same I will be grateful. Please help.
Rgds,
Luther

You can look at this document. Most of the instructions hold good for OCCI too.
http://download.oracle.com/docs/cd/B10501_01/win.920/a95497/toc.htm

Similar Messages

  • Oracle 9i OCCI and Oracle 8i Database

    Hi All
    I need to use OCCI on my client side. My database server runs on Oracle 8.1.6.0.0 . Is it possible to use OCCI (ie Oracle 9i) as mentioned?
    Prompt reply will be highly appreciated.
    Thank you
    Ronak Chokshi

    I have not seen 9i OCCI yet however, if Oracle's upgrades/new versions are consistent from 7.1 onwards, what you need to worry is to check only the SQL*NET setup, if you are using database server installed on different platform.(either via odbc or oracle's own ole (windows client)). If database is also on the same system, things would be very simple. SQL*NET can be tested using standard sql*plus executed from client side. In case of ODBC setup, odbc has its own test utility by which database can be queried. OTN site has detailed documentation on SQL*NET set up. Hope this helps??

  • How to supress the Oracle version in Reporting

    Hi All,
    I am trying to run an .sql file
    spool aPOORVA_TEST.log;
    SET ECHO Off;
    SET DEFINE OFF;
    set feedback off;
    set heading off;
    set line 5000;
    SELECT * FROM table WHERE ROWNUM<3;
    Spool Off;
    The output of this query is showing the Oracle Version along with the query result
    SQL*Plus: Release 9.2.0.6.0 - Production on Fri May 8 04:11:13 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    How could i remove these which SET command is going wrong. Please advise.

    Do you have a
    sqlplus username/password@database command somewhere in the .sql file? How are you running the .sql file?
    After logging into the SQL*Plus console?
    If you are using sqlplus command in the sql file, then just suppress the ouput with -SILENT option or -s.
    Cheers
    Sarma.

  • How to find out the Oracle Version in Windows platform (OS level)

    Hi,
    I have installed Oracle 8.1.7, 9.2.0.1 and 10.2.0.1on my Windows machine for testing purpose.
    I want to list in my code as what are all the Oracle software version installed on my machine at OS level (before connecting into oracle).
    Is there any way to get this.
    Please help.
    Thanks,
    Riaz.

    Hi All,
    thanks for your inputs..
    In registry, where the oracle version info is getting stored... and if more than one Oracle is installed, then how did we get this info??
    thanks,
    riaz.

  • Steps to upgrade my Oracle version from 11.1.0.6 to 11.2.0.1 in windows.

    Can anyone help me with the steps to upgrade my Oracle version from 11.1.0.6 to 11.2.0.1 in windows.
    Thanks in advance.

    If you are going to upgrade, you should upgrade to the latest 11gR2 patchset (currently 11.2.0.4). At a high level -
    1. Install 11.2.0.4 into a new separate ORACLE_HOME - see MOS Doc 1562139.1 and Contents
    2. Apply the latest 11.2.0.4 PSU bundle available for Windows - see MOS Doc 1454618.1
    3. Use DBUA to perform the upgrade - MOS Doc 870814.1 and Contents
    Also see
    MOS Doc 1645862.1

  • How to find out what Oracle version?

    Hi,
    Could anyone tell me how to find out what Oracle version is on your AIX/Unix machine? It looks like Oracle Installer doesn't use the native OS installation(installp,pkgadd) process, so I can't use lslpp/pkginfo to find out what filesets are installed.
    Thanks
    HQ.

    Hi!
    As far ar Oracle version is concerned, you can find it at the database level after connecting to the database
    select * from v$version;
    i am not sure if there is someway to find at the o/s level.
    Good luck
    null

  • Using OCCI with Oracle XA Library

    Is it possible to use OCCI with Oracle XA Library?
    the XA function xaoSvcCtx() can returns the OCI service handle
    for a given XA connection. but how to convert it to the OCCI
    Connection class?
    any comments would appreciate
    Ray

    Hi Ravi,
    We are now building CORBA application with C++. some programs
    manage transaction through Transaction service(a TM of X/OPEN
    DTP architecture), these programs must use XA Library.
    OCCI is a wonderful tool for C++ programer,with OCCI building
    a persistent layer over ORACLE is very simple.
    But if OCCI not work with XA we have no choice but PRO*C or
    OCI ,which's actually C style tool and hard to use especially
    in object mode.
    So we hope OCCI can provide this feature in next release. and
    I beleive This feature is necessary,It's very common using a
    transaction monitor such as ORACLE Application Server .
    regards,
    Ray

  • How to disable trace files in oracle version 11g

    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practice

    SHANOJ wrote:
    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
    http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
    Aman....

  • Index rebuild in oracle version 8i

    Hi All
    Is there any other way we know which indexes we can rebuild in a database which is using RBO in oracle version 8
    we dont want to analyze those indexes
    Thanks

    Why it is a condition that you don't want to go for analyze of the indexes?The answer to the question is almost "never".It really needs to be quantified that the rebuild will be of some benefit.On what benchmark you want to go for rebuild ofthe index?
    You may like to read this blog about the same topic and many more on indexes,
    http://richardfoote.wordpress.com
    Aman....

  • Upgrade oracle version 10.1.0.4 to 10.2.0.2 or 10.2.0.4

    Hello,
    We are planning an upgrade of our CRM platform (CRM 5.0) with oracle version 10.1.0.4 to CRM 2007.
    I was wondering which oracle version i would upgrade to : 10.2.0.2 or 10.2.0.4 ?
    What do you guys think is the best/stable version ?
    Thanks for your answers.
    Rgds,
    Marc.

    Hello Marc,
    i think you are mixing up two things
    10.1.0.4 = 10g R1 with Patchset 4
    10.2.0.2 = 10g R2 with Patchset 2
    10.2.0.4 = 10g R2 with Patchset 4
    So you always upgrade from 10g R1 to 10g R2 .. and then is the question which Patchset for 10g R2.
    I would use 10gR2 with Patchset 4, because there are some nice features and not so many bug fixes to apply.
    Regards
    Stefan

  • Control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.

    hi;
    I'm totally new to the oracle databases field...am trying to startup the database using the parameter file init.ora by using the command
    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'
    But its giving me the following error:
    ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version
    10.2.0.0.0
    ORA-00202: control file:
    '/u01/app/oracle/product/10.2.0/db_1/dbs/control01.ctl'
    Can anyone help me with this error?
    Thanks!

    startup pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/init.ora'You are most likely using the wrong init.ora file. Get a list of files at /u01/app/oracle/product/10.2.0/db_1/dbs/
    For the database ORACLE_SID that you are attempting to startup, there would be an initSID.ora or spfileSID.ora
    e.g. if the ORACLE_SID is PROD, the file would be initPROD.ora or spfilePROD.ora
    The spfileSID.ora is a binary file and should not be accessed by a text-editor.
    Hemant K Chitale

  • Mismatch between COMPATIBLE Parameter and Oracle Version

    Hi,
    If the ORACLE version is say 11g but the compatible parameter in init.ora is say 9.2.0 or 8.1.7 what will be the effect on the database?
    Will the database behave as like 11g or of the lower version?
    If we alter the init.ora to the new version for compatible paremeter will it affect DB rebooting?
    This is an interview question and i could not answer.
    Please let me know the answers.

    If the ORACLE version is say 11g but the compatible parameter in init.ora is say 9.2.0 or 8.1.7 what will be the effect on the database?
    Will the database behave as like 11g or of the lower version?
    If we alter the init.ora to the new version for compatible paremeter will it affect DB rebooting?
    This is an interview question and i could not answer.Here, database created in 11gR2, if try to set lower compatibility it wont be allowed, Below is example.
    Check this article of TKyte.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:485421569569
    Init.ora Parameter "COMPATIBLE" Reference Note [ID 30699.1]
    SQL> show parameter compatible
    NAME                                 TYPE        VALUE
    compatible                           string      11.2.0.0.0
    SQL> alter system set compatible='10.2.0' scope=spfile;
    System altered.
    SQL> shut immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             276825512 bytes
    Database Buffers          494927872 bytes
    Redo Buffers                5259264 bytes
    ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version
    10.2.0.0.0
    ORA-00202: control file: 'C:\ORACLE\ORADATA\ORCL\CONTROL01.CTL'
    SQL>SID3      
         Newbie
    Handle:      SID3
    Status Level:      Newbie
    Registered:      Sep 27, 2006
    Total Posts:      493
    Total Questions:      68 (56 unresolved)
    Name      Amritansu Ray
    Close the thread if answered, Keep the forum clean.
    Edited by: CKPT on Feb 15, 2012 9:54 PM

  • ORA-00979: not a GROUP BY expression on different oracle version

    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expression
    SELECT COUNT(*) OVER() CNT,
    COUNT(member_id) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent,
    date_order,
    (COUNT(member_id) -
    (Select Count( *)
    FROM oracjoc.email_alert_bounce_backs bb
    WHERE aa.journal_id = bb.journal_id
    AND aa.volume_id = bb.volume_id
    AND aa.issue_id = bb.issue_id
    AND aa.etoc_type = bb.etoc_type
    AND aa.date_sent = TO_CHAR(bb.date_sent, 'ddMonYYYY')
    )) delivered
    FROM
    (SELECT member_id,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    TO_CHAR(date_sent, 'ddMonyyyy') date_sent,
    To_Number(To_Char(Date_Sent, 'yyyymmdd')) Date_Order
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id,
    Volume_Id,
    Issue_Id,
    Etoc_Type,
    Current_Registered_Users,
    Date_Order,
    Date_Sent
    ORDER BY date_order DESC
    Oracle version:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production: I got failed result on this one
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production: sql was successfully executed.
    Can someone explain is this still a part of bug on non enterprise edition?, TIA!

    919272 wrote:
    Hi,
    I tried below sql on different database and I'm having a strange result.
    error is ORA-00979: not a GROUP BY expressionRead the full error message. It has also a row and a column number specified. Use this number to find out which column gives you the trouble.
    I see that there are several not needed date to char conversions. I could imaging that they confuse the query merge mechanism. Other than that: try to strip down the query to the smallest posisble set of colum combination. So that you can see where the error comes from.
    SELECT COUNT(*) OVER() CNT,
    COUNT(*) AS cnt2,
    etoc_type,
    journal_id,
    volume_id,
    issue_id,
    current_registered_users,
    date_sent2,
    (COUNT(*) -
      (Select Count( *)
        FROM oracjoc.email_alert_bounce_backs bb
        WHERE aa.journal_id = bb.journal_id
        AND aa.volume_id = bb.volume_id
        AND aa.issue_id = bb.issue_id
        AND aa.etoc_type = bb.etoc_type
        AND aa.date_sent2 = trunc(bb.date_sent)
        )) delivered
    FROM  (SELECT member_id, etoc_type, journal_id, volume_id, issue_id, current_registered_users,
           trunc(date_sent) date_sent2,
    FROM oracjoc.Report_Issue_Alert
    WHERE Etoc_Type = '1'
    ) Aa
    GROUP BY Journal_Id, Volume_Id, Issue_Id, Etoc_Type, Current_Registered_Users, Date_Sent2
    ORDER BY Date_Sent2 DESC

  • Oracle version on solaris 10

    Hi,
    Which oracle version we can install on solaris 10, execpt oracle 10g?
    Thanks.
    Best Regards.

    Hi,
    Solaris 10 on which platform (runs on SPARC,x86,x86-64)? Anyway, the answer is simple: On SPARC runs
    Oracle Database 9iR2 (with 9.2.0.6 Patchset) for Sun Solaris SPARC32
    Oracle Database 9iR2 (with 9.2.0.6 Patchset) for Sun Solaris SPARC64
    Oracle Database 10gR1 (with 10.1.0.3 Patchset) for Sun Solaris SPARC64
    10gR2 Database for Sun Solaris SPARC64
    and on x86 runs only 10gR1 and higher.
    Regards
    Werner

  • Can We Have 2 Oracle Versions 9 and 10g Sharing Same Linux RH2 Server?

    Hello DBA's
    Am quite undecided in setup 2 Oracle Versions into Same Machine.
    The Reason is Am'm affraid if I need t install specifique RPM packages fro 9R2 are thy compatible with The RPM request for 10gr2.
    Second Question What's your opinion concerning Virtualizing Oracle Production Servers ?`
    Txs
    Carlos

    Am quite undecided in setup 2 Oracle Versions into Same Machine.It is OK to do so.
    Second Question What's your opinion concerning Virtualizing Oracle Production Servers ?`It is easy to get wrong & can be a challenge to debug to get correct.

Maybe you are looking for