Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Connect to ORacle using C under Linux

Re: Connect to ORacle using C under Linux

From: Volker Hetzer <volker.hetzer_at_ieee.org>
Date: Thu, 26 Feb 2004 13:25:53 +0100
Message-ID: <c1koki$m3o$1@nntp.fujitsu-siemens.com>

"Yanick Quirion" <neokimia_at_hotmail.com> schrieb im Newsbeitrag news:tx8%b.78898$2g.54950_at_charlie.risq.qc.ca...
> Hi all,
>
> I'm trying to find a simple code to connect to an Oracle Database (9i) with
> C under linux.
>
> I have a script that read a form from the web and I want to access my Oracle
> database with this form.

There's a choice between ESQL ans OCI.
For simpler jobs ESQL is much easier.
A connection would then look like "EXEC SQL CONNECT a/b_at_x". Possibly some single or double ticks around the connect string.

Lots of Greetings!
Volker Received on Thu Feb 26 2004 - 06:25:53 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US