dbTalk Databases Forums  

how can I connect to oracle in C language?

comp.databases.oracle comp.databases.oracle


Discuss how can I connect to oracle in C language? in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
baumann.Pan@gmail.com
 
Posts: n/a

Default how can I connect to oracle in C language? - 03-05-2005 , 02:51 AM






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

Reply With Quote
  #2  
Old   
Mark C. Stock
 
Posts: n/a

Default Re: how can I connect to oracle in C language? - 03-05-2005 , 11:55 AM







<baumann.Pan (AT) gmail (DOT) com> wrote

Quote:
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.com and look up these books
for the oracle version that you are using.)

++ mcs




Reply With Quote
  #3  
Old   
baumann.Pan@gmail.com
 
Posts: n/a

Default Re: how can I connect to oracle in C language? - 03-07-2005 , 06:47 AM



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:
Quote:
baumann.Pan (AT) gmail (DOT) com> wrote in message
news:1dc5aeaa.0503050051.3a37e897 (AT) posting (DOT) google.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.com and look up
these books
for the oracle version that you are using.)

++ mcs


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.