DBA Data[Home] [Help]

VIEW: APPS.OKC_LINES_INDEX_V

Source

View Text - Preformatted

SELECT id, okc_tree_index.get_id(level, LT.display_sequence,3) line_index, okc_tree_index.get_id_lpaded(level, LT.display_sequence,10,4) line_order from okc_k_lines_b LT connect by prior id = cle_id start with dnz_chr_id = okc_tree_index.get_root_id and chr_id is not null
View Text - HTML Formatted

SELECT ID
, OKC_TREE_INDEX.GET_ID(LEVEL
, LT.DISPLAY_SEQUENCE
, 3) LINE_INDEX
, OKC_TREE_INDEX.GET_ID_LPADED(LEVEL
, LT.DISPLAY_SEQUENCE
, 10
, 4) LINE_ORDER
FROM OKC_K_LINES_B LT CONNECT BY PRIOR ID = CLE_ID START WITH DNZ_CHR_ID = OKC_TREE_INDEX.GET_ROOT_ID
AND CHR_ID IS NOT NULL