Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Trouble with partition switching

    This also can happen if at least on one of the tables your check constraint was created WITH NOCHECK.

  • RE: Performance issue

    More over, what should I do if I need to consolidate more tables in the future?

    You could insert your top 20 ActiveDirectory records into a temp table

    and UNION separate selects...

  • RE: Performance issue

    Dave's query also can give you incorrect results because of the LEFT joins: you can get records where w.workphonenumber AS phone, w.emailaddress AS email,w2.workphonenumber AS phone, w2.emailaddress AS email ARE...

  • RE: Performance issue

    1) the killing you SCAN on WhitePaper is performed too many times because of the Nested Loop join used, so try adding :

    OPTION(HASH JOIN, MERGE JOIN)

    that will result in...

  • RE: Correlated Joins Using "Apply"

    it could be a descent article had it been written 2 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)