Hi Guys, I have a performance issue with one of the views when I join the view with a temp tableI have 2 Views - View1 and View2.There is a third view - view_UNION where the view_UNION = SELECT * FROM View1 UNION ALL SELECT * FROM View2If I have a query like -Select view_UNION.* FROM view_UNION INNER JOIN #TMP ON #TMP.ID = view_UNION.IDthe execution is too slow.But if I execute the views separately, I get good performance.Can someone please help me to improve the performance of the view_UnionThanks.
↧