Suppose the xml input is
<Tasks>
<Task Name="Add2">
<Dependency Name="S1"/>
</Task>
<Task Name="Min2">
<Dependency Name="Dev1"/>
<Dependency Name="Extra"/>
</Task>
<Tasks>
I want the outcome as
Add2 S1
Min2 Dev1
Min2 Extra
How to achieve this using Xpath in a Sql Sproc
Some of your previous questions has been about SQL Server so….