How to write a procedure for displying the data in a TREE
or (PARENT and CHILD ) relationship , for ex: A is the main
project id, for this project B,C,D are sub tasks(sub
project id's) for B the sub tasks are e,f,g and for c is
h ,i ,j and for d is k,l,m
now i need to display the o/p in a TREE fashion

pls help me ,
thanks in advance
surendra

Answer Posted / rv

You can use Select..ConnectBY.. PRIOR clause in Oracle to
generate the data in tree structure. Google for the apt
syntax and usage.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is record in pl sql?

526


What problem one might face while writing log information to a data-base table in pl/sql?

567


Explain isolation levels. : Transact sql

587


How do you write a subquery?

533


Can we insert delete data in view?

559






What are the different dml commands in sql?

595


What does select * from mean in sql?

2024


Can two tables have same primary key?

540


What is difference between procedure and trigger?

528


Define join and name different types of joins?

528


What is the difference between rename and alias?

721


what is query cache in mysql? : Sql dba

585


What is auto increment in sql?

597


What is bulk compiling in pl/sql.?

619


Which command is used to delete a trigger?

783