SSF_TREE_LF_VW

(SQL View)
Index Back

SF Tree Leaf View


SELECT A.SETID , A.TREE_NAME , A.TREE_NODE , B.TREE_NODE_NUM , B.RANGE_FROM , B.RANGE_TO FROM PSTREENODE A , PSTREELEAF B WHERE A.SETID = B.SETID AND A.TREE_NAME = B.TREE_NAME AND A.EFFDT = B.EFFDT AND A.EFFDT=( SELECT MAX(A1.EFFDT) FROM PSTREEDEFN A1 WHERE A1.SETID = A.SETID AND A1.TREE_NAME = A.TREE_NAME AND A1.EFFDT <= %CurrentDateIn ) AND B.TREE_NODE_NUM >= A.TREE_NODE_NUM AND B.TREE_NODE_NUM <= A.TREE_NODE_NUM_END

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
3 TREE_NODE Character(20) VARCHAR2(20) NOT NULL Node name
4 TREE_NODE_NUM Number(10,0) DECIMAL(10) NOT NULL Internal beginning node range number
5 RANGE_FROM Character(30) VARCHAR2(30) NOT NULL Lower boundary for detail value that contains a range of values
6 RANGE_TO Character(30) VARCHAR2(30) NOT NULL Upper boundary for detail value that contains a range of values