From: "MUKTA" <muktavasudeva(at)hfcl(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject:
Date: 2004-01-29 12:02:10
Message-ID: 007701c3e65f$bc001730$ea08a8c0@mukta
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi!
I want to insert values into a table using the C syscalls provided by the libpq library, but i find that i cant insert into the table when i use variables instead of values...like so:
int a,b,c,d;
using the C function

res=PQexecute(Conn,"INSERT into table values(a,b,c,d));....

Is there some special way to insert variables rather than plain values? do i have to build functions (in sql) or somehting?help!
Thanx
Mukta

Responses

  • Re: at 2004-02-02 15:32:30 from Richard Huxton

Browse pgsql-sql by date

  From Date Subject
Next Message email lists 2004-01-29 12:18:08 query not using index for descending records?
Previous Message Richard Huxton 2004-01-29 10:27:51 Re: SQL Query for Top Down fetching of childs