Hi Jeff,
I have tried that and it indeed appears to work. A creates #temp and calls B, and B also creates #temp. No error occurs and it works as one would want. There are two separate #temp tables, one that's "private" to A and one that's "private" to B.
So my question is, what happens when B calls C which then accesses an existing table named #temp?
Thanks.
- John.