sql server - Join using Table valued function -


this question has answer here:

how can join using table valued function mssql 2012 query below?

select  m1.id, m1.oid, m1.id2    dbo.match(484066) m1 inner join         dbo.match(m1.id2) m2 on m1.id2 = m2.id inner join         dbo.match(m2.id2) m3 on m2.id2 = m3.id , m1.id = m3.id2 

select  m1.id, m1.oid, m1.id2    dbo.match(484066) m1 cross apply         dbo.match(m1.id2) m2 cross apply         dbo.match(m2.id2) m3  

is wanted?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -