Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Start with Connect by prior

$
0
0

Hi All,

Can anyone please help me in making this oracle sequel statement into Sql Server. 

select name
  from (select id, info_id
        from wp_tasks
        start with id = task_id
        connect by prior task_id = id) task_ids
        left join wp_task_info info on task_ids.info_id = info.info_id;

Please help me this is urgent request


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>