| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: recursive relationship
AFAIK, a recursive relationship means that an object of a certain type may be related to an object of the same type. Consider the type human, spouse is such a relationship (perhaps you have to add "current";-)
CREATE TABLE Human (
ID INTEGER,
Name CHAR (255),
IDSpouse INTEGER);
Hope I'm not wrong
Heinz
Fernando wrote:
>
> hi!
>
> I dont understand very well the concept of a recursive
> relationship. Could someone please explain and give me an example?
> O:-)
>
> A sample sql statement that creates a table with such a
> relationship would be appreciated too. O:-)
>
> TIA
>
> //-----------------------------------------------
> // Fernando Rodriguez Romero
> //
> // frr at mindless dot com
> //------------------------------------------------
Received on Wed Jan 12 2000 - 00:00:00 CST
![]() |
![]() |