• Jeff Moden - Wednesday, January 17, 2018 10:44 PM

    I was talking about the fact that it appears that the first temporary table will have little to nothing available because the usage stats (sys.dm_db_index_usage_stats) are cleared on restart of the service.  I also wonder why a lot of people don't comment their code.

    Thanks. I see what you mean, I have another version with left outer join...