Check this out
Select HIE_NAME,HIE_CODE,HIE_COST_CENTRE FROM HS_HR_HIERARCHY
CONNECT BY
PRIOR HIE_CODE = HIE_RELATIONSHIP START WITH HIE_CODE = '013'
http://www-128.ibm.com/developerworks/db2/library/techarticle/0307steinbach/
0307steinbach.html
Select HIE_NAME,HIE_CODE,HIE_COST_CENTRE FROM HS_HR_HIERARCHY
CONNECT BY
PRIOR HIE_CODE = HIE_RELATIONSHIP START WITH HIE_CODE = '013'
http://www-128.ibm.com/developerworks/db2/library/techarticle/0307steinbach/
0307steinbach.html
No comments:
Post a Comment