Give me a suggestion 'START WITH .. CONNECT BY'.

From: 山さん <yamahi(at)isi-webnet(dot)co(dot)jp>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Give me a suggestion 'START WITH .. CONNECT BY'.
Date: 2001-05-15 08:40:32
Message-ID: 000c01c0dd1a$f1683340$6f40a8c0@isiwebnet.co.jp.isiwebnet.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello!
I try to translate a database to PostgreSQL from ORACLE, but have a regret
over a function '... START WITH .. CONNECT BY ...'.
This function is descrived in a sql sentence for ORACLE, and I could not
find in PostgreSQL.
For example
SELECT LEVEL, COMP_ITM, COMP_NAME, COMP_AMT FROM PSFILE
START WITH PRNT_ITM = 'A0010'
CONNECT BY PRIOR COMP_ITM = PRNT_ITEM;

I want to know an similar SQL description in PostgreSQL. Will you give me a
suggestion?
Thanks!
Hirosi Yamaoka
Co.ltd Integrated Systems Institute
701-0211 688-55 Higasiune, Okayama-city, Okayama-pref. Japan

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Justin Clift 2001-05-15 10:09:50 Re: error message...
Previous Message Guru Prasad 2001-05-15 08:08:17 How NULL is interpreted in Pgsql