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

How do I view a sql trace file?

761


How do I find sql profiler?

683


What are pl/sql cursors?

729


what is schema? : Sql dba

742


What are the sql versions?

672






How does sql profiler work?

754


Describe types of sql statements?

722


How does sql*loader handles newline characters in a record? : aql loader

765


what are all the common sql function? : Sql dba

780


What are the ddl commands?

718


What is the location of pre_defined_functions.

841


Which one is better subquery or joins?

775


How do I create a memory optimized filegroup?

699


Can we use ddl commands in pl sql?

766


how is myisam table stored? : Sql dba

782