Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.oracle -> Circular Record Reference

Circular Record Reference

From: Paffko <forum_at_iicii.com>
Date: 25 Mar 2004 09:24:54 -0800
Message-ID: <885d6057.0403250924.1cb059f9@posting.google.com>

To: All Who Love Oracle Challenges

Environment:
Oracle8i (8.1.7)

Scenario:
The following records exist in a table:

ITEM	DEST	SRC

---- ---- ----
1111 101 201 1111 201 202 1111 202 101

or in a generic example, we have:

ITEM	DEST	SRC

---- ---- ----
1111 A B 1111 B C 1111 C A

Question:
What would be the best approach in Oracle8i to find a circular reference in columns DEST and SRC? For example, for ITEM=1111, the following circular reference exists for DEST->SRC: A->B->C->A

Any ideas are highly appreciated!
Thanks. Received on Thu Mar 25 2004 - 11:24:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US