I have the following Oracle LiveReport that takes in a folder id (user selects the folder) and it lists the contents of the folder and sub folders. It uses start with and connect by. I am now on an SQL system and cannot figure out the equivalents for start with and connect by so any help in converting this will be greatly appreciated. Full LiveReport is attached.
select lpad(' ', 4*(level -1) + 1, '--') || d.name "Name", d.gif, d.subtype from dtree d start with d.dataid = %1 connect by prior d.dataid = d.parentid
Thank You
Charis