470,636 Members | 1,459 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

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
Jul 19 '05 #1
2 22787

<ba*********@gmail.com> wrote in message
news:1d**************************@posting.google.c om...
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
Jul 19 '05 #2
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:
<ba*********@gmail.com> wrote in message
news:1d**************************@posting.google.c om...
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


Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Hari Om | last post: by
4 posts views Thread by Ellen K. | last post: by
2 posts views Thread by baumann.Pan | last post: by
7 posts views Thread by sanjay | last post: by
1 post views Thread by Korara | last post: by
???
reply views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.