Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Accessing Oracle database on Solaris from C program
If you are writing a C++ application, use OCCI which is the C++ interface.
http://www.oracle.com/technology/tech/oci/occi/index.html
You have links to sample code, discussion forums and documentation from
the above site.
On Solaris, it is supported with SUN Workshop compiler.
You can download Instant Client which is a light weight installation: http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
-krishna.
amogh wrote:
> agalkin_at_audible.com wrote:
>
>> I need to perform queries on Oracle database from C/C++ program on >> Solaris. I have very extensive experience with C/C++ and MS Windows OS >> but close to none with Solaris or Oracle. Our database adminstrator >> told me that we do not have any documentation, he does not know if we >> have any C libraries for accessing Oracle database. The only >> information he provided me with is that we have Oracle version 9.2.0.7 >> (Oracle 9i) and Solaris 10. Any help with where to get Oracle C >> libraries (header and lib files) and any sample source code how to >> acess it would be greatly appreciated. If this is not the best >> newsgroup to post such quiestion I would also like to know which one I >> should post to. >>