Re: Command "connect by prior" in PostgreSQL ?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Command "connect by prior" in PostgreSQL ?
Дата
Msg-id entrfg$9ap$1@sea.gmane.org
обсуждение исходный текст
Ответ на Re: Command "connect by prior" in PostgreSQL ?  (Scott Marlowe <smarlowe@g2switchworks.com>)
Ответы Re: Command "connect by prior" in PostgreSQL ?  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
On 08.01.2007 17:24 Scott Marlowe wrote:
> On Mon, 2007-01-08 at 07:38, Leandro Repolho wrote:
>> Hello everybody,
>> In Oracle i use the command "connect by prior" and i need to use it in
>> PostgreSQL, what is the sintax?
>
> What does connect by prior do?  Reuse a connection from one db to
> another?  I don't think there's anything like that in postgresql.
>
> You might wanna tell us what an oracle command does next time, since
> many folks here aren't that familiar with Oracle.  Heck, I use oracle
> everyday and I'm not familiar with connect by prior...

It's used to retrieve hierarchical data e.g. a parent/child
relationship. The connect by operator defines the columns which define
the hierarchy.

Thomas

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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Command "connect by prior" in PostgreSQL ?
Следующее
От: Erik Jones
Дата:
Сообщение: Re: More activity in pg_stat_activity