Vera-428803 (6/19/2012)
there is no GO after creation of table #B. In my opinion the select statements will fail with an error.I didn't try it out but that's what I suspect.
Vera
I think the statements will run just fine.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP