pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: liam <allenwc@home.com>
To: Andy Champion <andychampion@hotmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq/INSERT
Date: Tue, 24 Apr 2001 09:13:36 -0700
Message-ID: <a05010400b70b5618dad1@[192.168.0.4]> (raw)
In-Reply-To: <F124n1xxWn9R6mJB5260000bd17@hotmail.com>
References: <F124n1xxWn9R6mJB5260000bd17@hotmail.com>

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

allenwc@home.com
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!



view thread (4+ messages)  latest in thread

Message-ID: <a05010400b70b5618dad1@[192.168.0.4]>
Permalink:  ../a05010400b70b5618dad1@%5B192.168.0.4%5D/
Also on:    postgresql.org/message-id/a05010400b70b5618dad1@[192.168.0.4]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: allenwc@home.com, andychampion@hotmail.com
  Subject: Re: libpq/INSERT
  In-Reply-To: <a05010400b70b5618dad1@[192.168.0.4]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox