To Rudy Komacsar
Only thing you need to do from second query analizer is to run
select * from #temp
at the end of your exercises. You'll get error, because there is no table #temp for the second session. You can create it and than check tempdb..sysobjects. It will contain 2 tables #Temp_...__<Number>, 1 per session.
_____________
Code for TallyGenerator