Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:21 PM
baumann.Pan@gmail.com
Guest
 
Posts: n/a
Default 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
  #2  
Old July 19th, 2005, 11:21 PM
Mark C. Stock
Guest
 
Posts: n/a
Default Re: how can I connect to oracle in C language?


<baumann.Pan@gmail.com> wrote in message
news:1dc5aeaa.0503050051.3a37e897@posting.google.c om...[color=blue]
> 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[/color]

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


  #3  
Old July 19th, 2005, 11:21 PM
baumann.Pan@gmail.com
Guest
 
Posts: n/a
Default 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:[color=blue]
> <baumann.Pan@gmail.com> wrote in message
> news:1dc5aeaa.0503050051.3a37e897@posting.google.c om...[color=green]
> > 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[/color][/color]
know[color=blue][color=green]
> > how to connect to oracle database on linux OS.
> > anyone can do me a favour? thanks a lot[/color]
>
> use the oracle precompiler or the oracle call interface (OCI)
>
> refer to
>[/color]
http://otn.oracle.com/pls/db10g/port...ed=3#index-PRO[color=blue]
> or
>[/color]
http://download-west.oracle.com/docs...b10779/toc.htm[color=blue]
>
> (assuming 10g -- otherwise goto to tahiti.oracle.com and look up[/color]
these books[color=blue]
> for the oracle version that you are using.)
>
> ++ mcs[/color]

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles