Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: HELP: how to put SQL in C++ program
ASHELAT17 wrote:
> I want to write SQL quarries in my C++ programm , How can I do that ?
> In
> program how can I add sql language's quarry and how does compiler
> detect
> it ? and how can I use return results of that quarry , which are in
> form
> of a table .
You need to use the Pro*C precompiler from Oracle for your OS environment. You will embed the SLQ statements in your C++ code, which the precompiler will translate to C (C++) syntax. You also get appropriate header files and the DLLs required to run the executable. Received on Sat Jul 26 1997 - 00:00:00 CDT