At 3:31 PM +0000 4/24/01, Andy Champion wrote:
>Hi, i'm trying to insert data pulled into a postgresql database but
>i'm having some problems with the inserts.
>i know that this:
>sprintf(insert_string, "INSERT INTO udpdata VALUES (1234);\n");
i= 1234 ;
sprintf (insert_string, "INSERT INTO updata VALUES(%i);\n",i) ;
it's just plain old ordinary ansi c.
Later . . . 'liam
William C Allen, BLS, EET
"It may be that your sole purpose in life is to serve as a warning to others"
At least I /have/ a purpose!
In response to
pgsql-interfaces by date
|Next:||From: Oliver Elphick||Date: 2001-04-24 16:14:33|
|Subject: Re: libpq/INSERT |
|Previous:||From: Alexey Nalbat||Date: 2001-04-24 15:55:32|
|Subject: c-function returning multiple rows|