473,465 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 23010

<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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Hari Om | last post by:
Cannot connect as Internal Hello, I am using IBM AIX 5.1L box for Oracle 9.2.0.1. I cannot connect as internal to my DB INstance - wonder why? Here is what is do:...
4
by: Ellen K. | last post by:
Hi all, Being that so far I didn't get an answer to my below problem on the Oracle newsgroup, I figured it couldn't hurt to try here. While at my current job I've been working with mostly SQL...
5
by: jrefactors | last post by:
My machine is Windows XP with Oracle 9.2 Home; IIS and Oracle are in the same box. I have tried both Oracle OLEDB Provider and Microsoft ODBC For Oracle, but both not working. For Microsoft...
4
by: RLN | last post by:
I have an Access2002 database that needs to connect to an Oracle Database. I connected to my Oracle DB in a simple VB6 app using no ODBC data source. How do I do the same thing using VBA in...
7
by: D. Patrick | last post by:
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work....
9
by: D. Patrick | last post by:
I need to connect to an Oracle database. I've never done it before. I see that with framework 1.1 you had to download ODP.NET from Oracle's site in order for the framework classes to even work....
8
by: CJM | last post by:
I have a working web application (ASP) which links to an Oracle 10g DB via OO4O. I'm trying to port it to either of two test servers, but in fact, I can't get it to work with either - 'Unable to...
2
by: baumann.Pan | last post by:
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...
7
by: sanjay | last post by:
Hi to all the people. please will u tell how can i Connect to the Database through C program. i have No clarity in that.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.