vemuri_ranjit wrote:
> --- In [email protected], andrew clarke <[EMAIL PROTECTED]> wrote:
>> On Wed, Sep 05, 2007 at 03:17:00PM -0000, MJ wrote:
>>
>>> I have started programing with C in about one year ago. Now I
> need to
>>> use SQL within my C codes. Does anybody have any idea about good
>>> examples on SQL using C? I have not any experience using SQL
> before.
>> I suggest looking at SQLite.
>>
>> http://www.sqlite.org/
>> yes we can use sql in c language
> i know only about using oracle data base in our c programme
> here thr programe is same but we have to connect to oracle using
> oracle OCI
> this is an interface provided by oracle for c programmers
> for complete reference refer PRO*C/C++ by oracle
As already mentioned: ODBC. Please don't go talking about Oracle
Pro*C/C++ if the OP hasn't mentioned what database they are using.
Oracle has ODBC drivers just like all the other major database vendors.
C <-> ODBC <-> ODBC driver for database <-> Database
SQL query goes this way along the path >>>>>>>
AND
<<<<<<< Results go that way along the path
--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* MyTaskFocus 1.1
Get on task. Stay on task.
http://www.CubicleSoft.com/MyTaskFocus/