Operating System - HP-UX
1748171 Members
4282 Online
108758 Solutions
New Discussion юеВ

Re: Oracle connection through ANSI-C

 
Qamar Alam
Advisor

Oracle connection through ANSI-C

Hi all,
Can any one tell me, How can I connect oracle database from the ANSI-C programe.
6 REPLIES 6
Yogeeraj_1
Honored Contributor

Re: Oracle connection through ANSI-C

hi,

normally, you will require a combination of the HP ANSI-C compiler for OCI and ProC programs.

please post more details about what you are tring to achieve.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Alex Lavrov.
Honored Contributor

Re: Oracle connection through ANSI-C

http://www-db.stanford.edu/~ullman/fcdb/oracle/or-proc.html


Here's a nice intro into the subject.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Arunvijai_4
Honored Contributor

Re: Oracle connection through ANSI-C

Hi,

You can use Pro*C compiler to achieve this., check this link http://www-rohan.sdsu.edu/doc/oracle/server803/A54661_01/toc.htm

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Qamar Alam
Advisor

Re: Oracle connection through ANSI-C

Hi,
I am not suppose to do in ProC. I want to write routine in AnsiC.
so anyone help me?
Alex Lavrov.
Honored Contributor

Re: Oracle connection through ANSI-C

ProC is the only way.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Arunvijai_4
Honored Contributor

Re: Oracle connection through ANSI-C

If you want to connect to Oracle,Pro*C is the only way. Else, you want to connect to DBs like MySQL, PostgreSQl, ANSI-C will do.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"