Home » Developer & Programmer » Precompilers, OCI & OCCI » help
help [message #94409] Fri, 15 October 2004 04:52 Go to next message
dharmendra shukla
Messages: 1
Registered: October 2004
Junior Member
sir i want to connect c with oracle but how
please help me
Re: help [message #94436 is a reply to message #94409] Thu, 28 October 2004 21:58 Go to previous message
alok
Messages: 12
Registered: December 2000
Junior Member
hey you can connect c programs with oracle using pro*c.
this will create the precompiler file which is same as a c program and the syntax for connecting oracle database is as follow

EXEC SQL CONNECT :username IDENTIFIED BY :password AT :db_con USING :db_name;

for more infor mation see the precompiler documentaion comes with oracle.
Previous Topic: Problem with .c from .pc
Next Topic: Conection Problem with Pro*c
Goto Forum:
  


Current Time: Thu Mar 28 03:59:15 CDT 2024