Recursion In Oracle

前端 未结 2 1764
孤街浪徒
孤街浪徒 2020-11-27 07:40

I have the following table in an oracle:

Parent(arg1, arg2)

and I want the transitive closure of the relation parent. That is, I want the f

2条回答
  •  执笔经年
    2020-11-27 07:55

    Oracle allows recursive queries. See: http://www.adp-gmbh.ch/ora/sql/connect_by.html

    Of course, these usually assume the hierarchical data is all in one table. Splitting it into separate tables makes things complicated.

提交回复
热议问题