Your example only works because you don't ref the #temp prior to recreating one with same name. With DNR, you can select from #temp and then recreate the table (a bit weirder) and it gets the new ContextID (aka Nesting Level) in the hash.
↧
Your example only works because you don't ref the #temp prior to recreating one with same name. With DNR, you can select from #temp and then recreate the table (a bit weirder) and it gets the new ContextID (aka Nesting Level) in the hash.