temp table filtering with Joins question

  • Hello Gurus

    for one use case we converted the code to use temp tables as one of the Tables has 60 Million rows. question is

    As the date criteria is already added to temp table for  Tx and Header  ( Two large tables ), can we add it to left outer join condition for table 3 and table4 ? Does it help to have a from date and to date against all joins ?

     

    Thanks for the response

  • It depends!

    It would be more helpfull if you posted DDL for all involved objects.

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • This was removed by the editor as SPAM

  • This was removed by the editor as SPAM

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply