1
What’s the difference between OUTER APPLY
and INNER JOIN
in the Sql Server
?
I know how the LEFT/RIGHT/INNER JOIN
works but I came across the OUTER APPLY
I read it but I didn’t fully understand it, it seems to be a kind of INNER JOIN
open where it could make an inner subselect acting as a JOIN
normal. Would that be it? Or have more things about?
Also how would the performance compare them?
Could you post an example of OUTER APPLY using function? @Ivan
– Roger Oliveira
yes clear no problems, SELECT c.Contactid, c.Firstname, c.Lastname, c.Emailaddress, c.Phone, x * FROM Person.Contact c OUTER APPLY [dbo].ufnGetSalesInfo x WHERE c.Contactid
– WizardDBA