Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Outer Join Expand / Collapse
Author
Message
Posted Thursday, January 17, 2008 5:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, February 14, 2011 2:59 AM
Points: 5, Visits: 37
Thanks for the warning.
Post #444230
Posted Thursday, January 17, 2008 5:34 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, January 30, 2014 10:08 PM
Points: 1,038, Visits: 444
Why not just move the where clause conditions for the right-hand table into the join condition rather than creating the derived table? Same end result although perhaps not as easy to understand - the derived table may help you to break up the steps in your mind. Truth be told the query engine may well come up with an identical plan anyway (although you would be wise to check)


Post #444247
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse