Unix Programming - how to connect C language to the oracle database

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2006 > how to connect C language to the oracle database





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to connect C language to the oracle database
raghu

2006-10-27, 1:24 am

Hello,
This is Raghu. I want to connect the SQL database to a C
program in linux environment can you please guide me.

Thanks in advance

Bye
-Raghu

Roka100@gmail.com

2006-10-27, 7:19 am

Hi
You can use Pro*C with oracle. Google it .

Jia Lu

raghu

2006-10-27, 1:17 pm


Roka100@gmail.com wrote:
> Hi
> You can use Pro*C with oracle. Google it .
>
> Jia Lu


Hi
I searched for Pro*C in the google. But in it they said their is no
free Pro*c downloads and it requires Oracle licence But I didn't have
that. any suggestions please
--Raghu

Pascal Bourguignon

2006-10-27, 1:17 pm

"raghu" <ragavakumar@gmail.com> writes:

> Roka100@gmail.com wrote:
>
> Hi
> I searched for Pro*C in the google. But in it they said their is no
> free Pro*c downloads and it requires Oracle licence But I didn't have
> that. any suggestions please


Otherwise, you can directly use Oracle's OCI API. C headers and a library.
Anyways, this is Oracle stuff, so you'd better browse Oracle's web site.

Or you can use some generic DB access library that has already an
Oracle adaptor, things like ODBC, EOF, etc.


--
__Pascal Bourguignon__ http://www.informatimago.com/

"You cannot really appreciate Dilbert unless you read it in the
original Klingon"
Jens Thoms Toerring

2006-10-27, 1:17 pm

raghu <ragavakumar@gmail.com> wrote:

> Roka100@gmail.com wrote:
[vbcol=seagreen]
> Hi
> I searched for Pro*C in the google. But in it they said their is no
> free Pro*c downloads and it requires Oracle licence But I didn't have
> that. any suggestions please


Maybe you're looking for something like this:

http://download-uk.oracle.com/docs/.../b14250/toc.htm

This seems to be the Documentation of the Oracle Call Interface (looks
as if can use it with both C and C++). No idea if it's free, but if you
already have Oracle I guess the header files and the library should
have come with what you got from them.

Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Chuck Dillon

2006-10-27, 1:17 pm

raghu wrote:
> Hello,
> This is Raghu. I want to connect the SQL database to a C
> program in linux environment can you please guide me.
>
> Thanks in advance
>
> Bye
> -Raghu
>


Why not ask in comp.database.oracle or some other oracle forum?

Oracle provides APIs that can be used from C/C++ that include Pro*C and
OCI and then there's the vendor neutral ODBC. Look at
http://www.oracle.com/technology/pr...ools/index.html for
Oracle offerings.

-- ced

--
Chuck Dillon
Manager of Software Development, Bioinformatics
NimbleGen Systems Inc.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com