Re: Automated scripting...

Christopher Sawtell <csawtell@xtra.co.nz>

From: Christopher Sawtell <csawtell@xtra.co.nz>
To: jkakar@expressus.com, pgsql-sql@postgresql.org
Date: 2001-01-31T00:58:46Z
Lists: pgsql-sql
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 <<--