From: Christopher Sawtell <csawtell@xtra.co.nz>
To: jkakar@expressus.com
To: pgsql-sql@postgresql.org
Subject: Re: Automated scripting...
Date: Wed, 31 Jan 2001 13:58:46 +1300
Message-ID: <01013113584600.03563@berty> (raw)
In-Reply-To: <20010130155453.A29901@expressus.com>
References: <20010130155453.A29901@expressus.com>
On Wed, 31 Jan 2001 12:54, jkakar@expressus.com wrote:
> Hi,
>
> I'm building a script to create a relatively large database. At some
> point in the script I would like to be able to save values into
> variables so that I can use them to populate rows.
>
> Is this possible with SQL? My understanding is that it is not
> possible but thought I'd ask anyway.
I know it seems a bit messy, but you could always use a temporary table to
store the values.
--
Sincerely etc.,
NAME Christopher Sawtell
CELL PHONE 021 257 4451
ICQ UIN 45863470
EMAIL csawtell @ xtra . co . nz
CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz
-->> Please refrain from using HTML or WORD attachments in e-mails to me <<--
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: csawtell@xtra.co.nz, jkakar@expressus.com
Subject: Re: Automated scripting...
In-Reply-To: <01013113584600.03563@berty>
References: <20010130155453.A29901@expressus.com> <01013113584600.03563@berty>
* 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