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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Function that Iterates down a structure

Re: Function that Iterates down a structure

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Sat, 12 Mar 2005 16:10:49 -0800
Message-ID: <1110672452.118884@yasure>


mike wrote:

> Michel,
>
> Cool, my qry:
>
> SELECT struct_id, par_struct_id, chd_struct_id, struct_level
> FROM struct
> START WITH chd_struct_id='4'
> CONNECT BY PRIOR chd_struct_id=par_struct_id
> ORDER SIBLINGS BY struct_level
>
> produced the error "ORA-00924: missing BY keyword"
>
> If I take off the Order by line it works fine, but it is not ordered.
>
> Documentation shows that I can do this successfully.
>
> See anything wrong?
>
> Mike

Possibly. Is a string? If it is change it to a NUMBER. If it isn't change your DML.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Sat Mar 12 2005 - 18:10:49 CST

Original text of this message

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