oracle中的connect by 在sql server中实现

oracle中的connect by 在sql server中实现

1。Oracle中:

select org_id

from organizations

start with org_id= :org_id

connect by prior org_id=supervision_org_id

order by supervision_org_id

2。Sql Functiong:

FunctionNo SubFunctionNo SubFunctionType

01. systemadmin Privilege 0

01. systemadmin subsysadmin 1(表示