Skip site navigation (1) Skip section navigation (2)

From: "MUKTA" <muktavasudeva(at)hfcl(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Date: 2004-01-29 13:08:33
Message-ID: 00a801c3e669$004f08c0$ea08a8c0@mukta (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
Hi I have an urgent problem
I want to insert values into a table using the C syscalls provided by the libpq library, but i find that i can not insert into the table when i use variables instead of so:
int a,b,c,d;
using the C function 
res=PQexecute(Conn,"INSERT into table values(a,b,c,d));....

executing above statement with plain integers does fine and inserts them into table..

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


  • Re: at 2004-01-29 13:11:44 from Viorel Dragomir
  • Re: at 2004-01-30 03:03:49 from Chris Travers

pgsql-sql by date

Next:From: Viorel DragomirDate: 2004-01-29 13:11:44
Subject: Re:
Previous:From: Bruno Wolff IIIDate: 2004-01-29 13:00:41
Subject: Re: LEFT JOIN on one and/or another column

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group