Re: select from table and add rows.

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: select from table and add rows.
Дата
Msg-id 20070706150257.GS20115@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на select from table and add rows.  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Ответы Re: select from table and add rows.  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Bart Degryse"
Дата:
Сообщение: Quote problem
Следующее
От: Bob Singleton
Дата:
Сообщение: Re: Iterate and write a previous row to a temp table?