Can somebody tell me an easy way to understand this query
select .ID,a.OwnerID,a.Type,a.SpaceID,a.Name,a.LeaderID,a.UserPrivileges from KUAF a where a.ID in (select distinct b.ID from KUAFChildren b start with b.ChildID=2753 connect by prior b.ID=b.ChildID)
If I execute this I will get an error ORA-01436: CONNECT BY loop in user data.I know there is a loop somehwhere and would like to fix it.Unfortunately I am not an Oracle expert and the things I know are just about select statments thru TOAD.So please use lay man terms in explaining
Everybody is ignorant, only on different subjects. - Will Rogers
appnair
select .ID,a.OwnerID,a.Type,a.SpaceID,a.Name,a.LeaderID,a.UserPrivileges from KUAF a where a.ID in (select distinct b.ID from KUAFChildren b start with b.ChildID=2753 connect by prior b.ID=b.ChildID)
If I execute this I will get an error ORA-01436: CONNECT BY loop in user data.I know there is a loop somehwhere and would like to fix it.Unfortunately I am not an Oracle expert and the things I know are just about select statments thru TOAD.So please use lay man terms in explaining
Everybody is ignorant, only on different subjects. - Will Rogers
appnair