Session-global temporary tables in SQL Server

后端 未结 4 2020
無奈伤痛
無奈伤痛 2021-01-16 15:31

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

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-16 16:09

    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?

提交回复
热议问题