This is the output of my recursive query.My strong point is
Is it necessary to give any control like LEVL<10 like that or Will it stop based on the data.Please give me clarity.
MERGE_ID REM__ID dw_eff_dt first__MERGE_DT curr_merge_dt Hierarchy LEVL 1 935275 935275 2013-11-22 9999-12-31 9999-12-31 \ 1 2 447173 935275 2013-11-22 2013-11-22 2013-11-22 \ 935275\ 2 3 25085 935275 2013-11-22 2013-11-22 2013-11-22 \ 935275\ 447173\ 3
This is the output of my recursive query.My strong point is
Is it necessary to give any control like LEVL<10 like that or Will it stop based on the data.Please give me clarity.
MERGE_ID REM__ID dw_eff_dt first__MERGE_DT curr_merge_dt Hierarchy LEVL
1 935275 935275 2013-11-22 9999-12-31 9999-12-31 \ 1
2 447173 935275 2013-11-22 2013-11-22 2013-11-22 \ 935275\ 2
3 25085 935275 2013-11-22 2013-11-22 2013-11-22 \ 935275\ 447173\ 3