how can I connect to oracle in C language?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • baumann.Pan@gmail.com

    how can I connect to oracle in C language?

    hi all,
    I am programming on linux, my program want to connect a oracle
    database server to do some SQL statement/procedure. But I don't know
    how to connect to oracle database on linux OS.
    anyone can do me a favour? thanks a lot
  • Mark C. Stock

    #2
    Re: how can I connect to oracle in C language?


    <baumann.Pan@gm ail.comwrote in message
    news:1dc5aeaa.0 503050051.3a37e 897@posting.goo gle.com...
    hi all,
    I am programming on linux, my program want to connect a oracle
    database server to do some SQL statement/procedure. But I don't know
    how to connect to oracle database on linux OS.
    anyone can do me a favour? thanks a lot
    use the oracle precompiler or the oracle call interface (OCI)

    refer to
    Access cloud trials and software downloads for Oracle applications, middleware, database, Java, developer tools, and more.

    or


    (assuming 10g -- otherwise goto to tahiti.oracle.c om and look up these books
    for the oracle version that you are using.)

    ++ mcs


    Comment

    • baumann.Pan@gmail.com

      #3
      Re: how can I connect to oracle in C language?

      thanks,
      but I could not find oci.h in my linux os.
      the example give in b10779.pdf requires oci.h. I could not manage to
      compile
      the examples provided in the pdf document.

      Mark C. Stock wrote:
      <baumann.Pan@gm ail.comwrote in message
      news:1dc5aeaa.0 503050051.3a37e 897@posting.goo gle.com...
      hi all,
      I am programming on linux, my program want to connect a oracle
      database server to do some SQL statement/procedure. But I don't
      know
      how to connect to oracle database on linux OS.
      anyone can do me a favour? thanks a lot
      >
      use the oracle precompiler or the oracle call interface (OCI)
      >
      refer to
      >
      http://otn.oracle.com/pls/db10g/port...ed=3#index-PRO
      or
      >
      http://download-west.oracle.com/docs...b10779/toc.htm
      >
      (assuming 10g -- otherwise goto to tahiti.oracle.c om and look up
      these books
      for the oracle version that you are using.)
      >
      ++ mcs

      Comment

      Working...