Re: Using Array-Values in subselect

Поиск
Список
Период
Сортировка
От Roberto Mello
Тема Re: Using Array-Values in subselect
Дата
Msg-id 3A11AB5F.C3F2C467@cc.usu.edu
обсуждение исходный текст
Ответ на Using Array-Values in subselect  (Alvar Freude <alvar.freude@merz-akademie.de>)
Список pgsql-sql
Alvar Freude wrote:
> 
> Hi,
> 
> i want to create a linked structure of values. Each text has an id, an
> array of children ids and the value itself.
Looks like you want something similar to Oracle's CONNECT BY statement.
There are some solutions to that. At OpenACS we had to deal with that so
implemented something like what you described here. However, the methods described by Joe Celko is his book "SQL For
Smarties" on chapters 28 and 29 (I think) are better and more robust. If
you search for "trees" and related topics at the openacs.org and
arsdigita.com's web/db web bulletin boards, you'll find several hits.
-Roberto Mello

P.S: I know this doesn't directly anwser your question, but points you
to where to find the answer for yourself.
-- 
Computer Science            Utah State University
Space Dynamics Laboratory        Web Developer
USU Free Software & GNU/Linux Club     http://fslc.usu.edu
My home page - http://www.brasileiro.net/roberto


В списке pgsql-sql по дате отправления:

Предыдущее
От: Alvar Freude
Дата:
Сообщение: Using Array-Values in subselect
Следующее
От: "Edmar Wiggers"
Дата:
Сообщение: RE: Using Array-Values in subselect