OuterApply
New member
- Local time
- Today, 02:27
- Joined
- Mar 10, 2022
- Messages
- 15
I can do this:
Select * from
Table1
Left join
(
table2
inner join table3 on blah blah
) on table[2 or 3].column = table1.column
It can be a handy way to left join to 2 tables that, themselves, almost-always/always need to be inner joined to each other.
Does anyone know of any "gotchas" - things to keep in mind, caveats, warnings, etc?
Select * from
Table1
Left join
(
table2
inner join table3 on blah blah
) on table[2 or 3].column = table1.column
It can be a handy way to left join to 2 tables that, themselves, almost-always/always need to be inner joined to each other.
Does anyone know of any "gotchas" - things to keep in mind, caveats, warnings, etc?