Re: Automated scripting... - Mailing list pgsql-sql

From Christopher Sawtell
Subject Re: Automated scripting...
Date
Msg-id 01013113584600.03563@berty
Whole thread Raw
In response to Automated scripting...  (jkakar@expressus.com)
List 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 SawtellCELL PHONE 021 257 4451ICQ UIN    45863470EMAIL      csawtell @ xtra . co . nzCNOTES
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 <<--



pgsql-sql by date:

Previous
From: Rick Delaney
Date:
Subject: Permissions for foreign keys
Next
From: Christopher Sawtell
Date:
Subject: Re: binary operators