Re: select from table and add rows. - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: select from table and add rows.
Date
Msg-id 20070706150257.GS20115@phlogiston.dyndns.org
Whole thread Raw
In response to select from table and add rows.  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Responses Re: select from table and add rows.  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
List pgsql-sql
On Fri, Jul 06, 2007 at 02:25:08PM +0100, Gary Stainburn wrote:
> This sets up an array with some pseudo values and then populates it with 
> *proper* values from a table.
> 
> How's the best way to do this all within SQL. 

I'm obviously not understanding the question properly, because I
think you want ot set up a PHP array with values from your table,
without using PHP.  Which would of course make no sense.  Do you
mean, how do you populate an array data type with data from individual
database columns?

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
However important originality may be in some fields, restraint and 
adherence to procedure emerge as the more significant virtues in a 
great many others.   --Alain de Botton


pgsql-sql by date:

Previous
From: "Bart Degryse"
Date:
Subject: Quote problem
Next
From: Bob Singleton
Date:
Subject: Re: Iterate and write a previous row to a temp table?