hierarchical tree

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeevalokesh
    New Member
    • May 2007
    • 9

    hierarchical tree

    hi


    plz explain how to create hierarchical tree ?
  • frozenmist
    Recognized Expert New Member
    • May 2007
    • 179

    #2
    Hi Jeeva,
    Thanks for posting the question.
    But do refrain from posting the same question more than once in the future.

    Cheers

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Previously u had put the same question in FORMS.

      If u want the same in SQL i can sove it for you .

      It will be better if u handle the forms part.

      please do post back.

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        If u want hierarchical tree structure in SQL use the following code.

        Code:
        COLUMN EMPLOYEE FORMAT A20
        
        SELECT LEVEL,LPAD(' ',2*(LEVEL-1))||ENAME "EMPLOYEE" ,EMPNO,MGR FROM EMP
        START WITH MGR IS NULL CONNECT BY PRIOR EMPNO=MGR

        Comment

        Working...