How to connect  oracle with c++

i wanted to know that how should i connect oracle to c++.
kindly list me the commands which i need to write to access database fro oracle.
thanks ...

If you're attempting to use the ODBC API directly, have you downloaded the ODBC SDK from Microsoft? That will include some sample code, which is a great starting point. So far as I'm aware, you shouldn't need to configure anything in Borland C++ that you don't have to configure in any other C++ compiler to use ODBC.
Distributed Database Consulting, Inc.

Similar Messages

  • How to connect oracle with ms access database

    We are on release r12, right now we have requirement to connect oracle database with ms access to get some information. We have found gateway(Heterogeneous services) using ODBC, but at the database side where is installed oracle r12 there is no installed ms access software becuse of linux operating system, so how could it will connect ms access because without installing ms-access we are unable to find ms ODBC gateway in ODBC driver under the control panel.
    Can any body guide me how could achieve this
    Edited by: oracle0282 on Sep 21, 2011 12:47 AM

    If I understand you correctly you want to access Oracle on Linux from MS-Access (possible on Windows only). You need neither a gateway nor Heterogeneous Services, but an Oracle client including ODBC driver (Instant client with ODBC driver is enough) on the Windows machine.
    Configure the ODBC driver with the connect informations to the Oracle server.

  • How to Connect Oracle with Crystal Reports

    Hi Everyone,
    I am new to Crystal Report,
    Just tell me how to connect Crystal Report thro' Oracle 9i or 10g Forms
    With regards,

    You may want to use ODBC for the connectivity.

  • How to connect Oracle with Jsp?

    I am student and I am trying to use Jsp to connect oracle. Do you have any sample to show how to do it?
    Thanks a lot.

    In JSP, you connect to the Oracle in a same way as you would do it in any Java application, using JDBC. Please refer to Java Tutorial -> JDBC on sun site and you will get easy and straight forward concepts.

  • How to connect Oracle 10g to MySql

    can anybody plz guide me how to connect Oracle with MySql...I was going through official documentation and I found the procedure for connecting with Informix, Sybase and Teradata etc but I could not find for can anybody plz guide in this regard...
    Thanking you

    To connect to a MySQl database the product you have to use is DG4ODBC 11.2. It requires a 3rd party MySQL ODBC driver (64bit on 64bit platforms and 32bit on 3bit platforms). This Dg4ODBC has to be installed in its OWN ORACLE_HOME. Installing it into the database home 10.2 you'll corrupt the database installation.
    Before installing DG4ODBC, please make sure your Oracle database release is or If you still have or you have to apply the gateway compatibility patch to your Oracle database release.
    More details can be found in the gateway config note available at "My Oracle Support".
    The notes are:
    - Installing on a 64bit Unix OS:
    How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) [ID 561033.1]
    - Installing on 32bit linux:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1]
    - Installing on Windows:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1] (although it is the 32bit note is is almost similar for a 64bit Windows installation
    You can download Dg4ODBC for free from or from

  • Help how to connecting Oracle SQL Developer 3.0  with Oracle Database 11g

    I'm new in oracle developer yesterday i setup in my laptop database 11g the last version (, well i follow steps still i got succeed to install, and i got my local host URL and i test my user name and password work very well, my problem now is i try to connect database 11g using Oracle SQL Developer 3.0 ( but always filed and with my little experience i don't know where the wrong. as i said i test database after finish install is work fine the my URL is https://Ahmed-HP:1158/em and i test my username and password that i already set before is enter normal in my local database, please i need help to know how i connect database with Oracle SQL Developer 3.0 (

    885173 wrote:
    EdStevens, thanks for your quick answer, sorry for my explain was doesn't clear, i open oracle sql developer and choose new connection i set connection name system_orcl username:system password:*i set my password that i create when i setup database*
    -Now the link that i got after finish install database is https://Ahmed-HP:1158/em so i have question about this point Hostname and port if the link to access database is this https://Ahmed-HP:1158/em so this mean i typing at Hostname:localhost and port:1158 ?
    because the message when i test connection always is filed and I'm sure i typing username and password and SID:orcl as i set when install database.port 1158 is what the dbcontrol (Oracle Enterprise Manager) is listening on. OEM is NOT the database. As far as the database is concerned, OEM is "just another client".
    Actually, the database doesn't listen for requests on any port. There is another process, the "listener" that listens for requests to connect to the database. Typically, it listens on port 1521. You should have a tnsnames.ora file set up to resolve a connection request to the correct host. You can read more on this at

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How to connect java with oracle

    can any body show me the code of how to connect java with oracle database.
    thank you

    To configure Oracle JDBC:
    1. Add Oracle JDBC JAR file or to classpath.
    2. Load and register the JDBC driver.
    3. Obtain a connection:
    String url="jdbc:oracle:thin:@<host>:1521:<database>
    Connection con = DriverManager.getConnection(url,
    "myLogin", "myPassword");
    4. Create a SQL statement.
    Statement stmt = con.createStatement();
    5. Obtain a result set.
    ResultSet rs = stmt.executeQuery(
    "SELECT ...");

  • How to connect oracle 9i to microsoft visio with odbc

    Please anybody can help me that how can i configure my odbc to work with oracle 9i and to connect my database within visio.

    Do NOT make duplicate post, please
    how to connect oracle 9i to microsoft visio through "odbc"

  • How connect Oracle with AS400?

    I don´t know how i can connect oracle with AS400 , what I need for make the connection?

    You have 3 options:
    - Oracle Transparant Gateway for DRDA
    This product is available for Windows, Linux, AIX, HP-UX PA-RISC and Solaris SPARC
    It uses the IBM DRDA protocol (over TCP/IP) to establish a connection with DB2400
    - Oracle Transparant Gateway for DB2/400
    This product needs to be installed on the AS/400
    - Generic Connectivity (aka HSODBC)
    This is a default Oracle Database feature that is available for Windows, Linux x86,
         AIX, HP-UX PA RISC and Solaris Sparc.
         In addition it requires a suitable ODBC-Driver (32-bit) that is able to connect to
    The gateways require additional license from Oracle, while HSODBC requires additional license for a third party ODBC vendor. Furthermore do gateways support the two phase commit protocol and calling DB2/400 stored procedures.
    DRDA over TCP/IP
    Message was edited by:

  • How to connect Oracle 8.0.5 for Linux to Tuxedo

    How to connect Oracle 8.0.5 for Linux to Tuxedo?
    How to config Tuxedo RM file and setting.

    Thomas Drolshagen (guest) wrote:
    : Oracle 8.0.5. Installation on S.u.S.E. Linux 5.3
    : =================================================
    : After strugling for 3 weekends with the installation of Oracle
    : 8.0.5. on a
    : S.u.S.E. 5.3 distribution here are the installation steps that
    : worked for me.
    I have tried to install Oracle on SuSE 5.2. I almost complted the
    installation, but kept getting a failure on installing the
    database. The last entry in the install.log is:
    Leaving trace.ins- Entering Make Dependent section.
    - Entering do_relink==false section.
    - Leaving Make dependent section.
    - Entering database actions section.
    Deciding to start again from scratch, I tried deleting all files
    and begining again, but now I get a different error running
    orainst. The installer keeps responding that 'file x already
    exists'. The name of the file changes each time I run it, and no
    file of that name exists. I have tried deleting the temp
    directories, as well as dropping them and recreating them
    elsewhere (desperation!), but I canot stop this from happening:
    An operating system error occurred while trying to spawn
    '/orasys/app/oracle/product/8.0.5/bin/otrccref' while
    output to '^ @^'. (File exists.) Would you like to retry
    operation, ignore the error, or allow the error to be
    processed by
    the Installer?
    Does anyone have any ideas??

  • How to connect oracle database using jsf

    how to connect oracle database using javaserver faces with connection pooling

    Here is one way...

  • How to connect oracle client (xp) to database server

    how to connect oracle client to database server
    i have following information
    --server ip
    --port no
    --database name.                                                                                                                                                                                                                                               

    In addition to these parameters you need username and password.
    Then you can connect with
    sqlplus -L [email protected]//server_ip:port_no/database_name
    Laurenz Albe

  • How to connect portal with msaccess database

    we have to develop oracle portal applications with msaccess as a back to connect portal to access.
    thanks in anticipation.

    I want to know or How to connect Mysql
    with JSP or JSF any other software isavailable?
    please help me.....First you need to find 25 m of a CatV cable and...The DB files need to be located on the ninth device of a SCSI Daisy Chain with the total SCSI cable length being over 150 m (and the devices (and cables) need to be mix of Differential and Non-Differential).
    Edit: And forget the terminator, who needs it?

  • How to connect oracle application server portal to MS access DataBase

    I am facing one problem here.
    Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portal

    There is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
    I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.

Maybe you are looking for

  • How to redirect a page on iweb

    Hi I have an online store @ cafepress that I built with them..Is there a way to create a page on Iweb that visitors click (the tab) and are then taken to that specific page or is there a way to embed that page into an iweb page....any help would be a


    Dear Friends, While executing the tocde me2n and on selecting a particular purchase order from the list ABAP Runtime error occurs attached in screen shot and on analysis of the error through st22 the following occurs. Category              ABAP Progr

  • Monitoring OAQ using mgw_gateway gives an odd result?

    When we submit the following query: select  AGENT_STATUS, AGENT_PING, LAST_ERROR_DATE, LAST_ERROR_TIME from mgw_gateway; We get this result: SQL> select AGENT_STATUS, AGENT_PING, LAST_ERROR_DATE, LAST_ERROR_TIME from mgw_gateway; MESSAGING GATEWAY IS

  • "Busiest Clients" report template on Cisco Prime & Aironet 1242AG

    Yesterday I was trying to schedule a "Busiest Clients" report on our Cisco Prime physical appliance (PRIME-NCS-APL-K9, v2. My goal was to monitor the busiest clients on a couple of old Aironet access-points. These APs have been installed in

  • Help noob with code

    I am working on an applet that will use the g.drawRect from the applets paint method. I want to allow user to enter the data for the rectangle (coordinate and size). What is the proper sytax to inclue variables as such? g.drawRect( xplot, yplot, widt