• TheSQLGuru (2/2/2009)


    2) is the join column a primary key or unique index value? Looks like cartesian product if not.

    Agreed. That's one reason I want see the actual exec plan, see what the row counts really are at various points of the query.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass