Re: select from table and add rows.

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: select from table and add rows.
Date: 2007-07-06 15:02:57
Message-ID: 20070706150257.GS20115@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)crankycanuck(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bob Singleton 2007-07-06 16:25:51 Re: Iterate and write a previous row to a temp table?
Previous Message Bart Degryse 2007-07-06 14:14:34 Quote problem