Home » Developer & Programmer » Precompilers, OCI & OCCI » connectivity in c++ and oracle
connectivity in c++ and oracle [message #93502] Fri, 22 March 2002 01:24 Go to next message
muntaha
Messages: 1
Registered: March 2002
Junior Member
how can i make connectivity with c++ and oracle please suggest me any book from where i can get some help or any site which can give me proper information.
Re: connectivity in c++ and oracle [message #93521 is a reply to message #93502] Fri, 26 April 2002 23:17 Go to previous messageGo to next message
ramesh
Messages: 123
Registered: August 2000
Senior Member
Hi Muntaha,
If you get the answer for the above question please inform to me also.

thanks and regards,
ramesh vs
Re: connectivity in c++ and oracle [message #93533 is a reply to message #93502] Thu, 09 May 2002 12:13 Go to previous messageGo to next message
Yeon
Messages: 6
Registered: April 2002
Junior Member
Use Pro*C/C++ pre-compiler.
This compiler makes .c or .cpp file.

Below is example of 'connect' statement in .pc file.

username = uName;
password = pWord;
EXEC SQL WHENEVER SQLERROR goto err;
EXEC SQL CONNECT :username IDENTIFIED BY :password;
return true;
//User does not exist
err:
EXEC SQL WHENEVER SQLERROR CONTINUE;
return false;
Re: connectivity in c++ and oracle [message #93748 is a reply to message #93502] Thu, 12 December 2002 06:05 Go to previous message
sachin dhangade
Messages: 1
Registered: December 2002
Junior Member
please tell me how to connect c++ with oracle 8/8i
and also suggest me book name with author,publication and cost of the book and also suggest me web site if possible to you

Thanking you
Mr.Sachin D.
Previous Topic: OCIDirPathPrepare in oracle 9i
Next Topic: Pb with proC compiling
Goto Forum:
  


Current Time: Sun Nov 24 14:19:19 CST 2024