In SQL Server, temporary tables with a name like #temp has a local scope. If you create them in your session, everything in your session can see them, but not outside your s
Could you not create the table when you start the session, then execute the stored proc, then do whatever else you want to do to the table after the stored proc executes?