SQL Server Temp Tables and Connection Pooling

后端 未结 6 1826

I have a multi-user ASP.NET app running against SQL Server and want to have StoredProcA create a #temptable temp table - not a table variable - to insert some data, then bra

6条回答
  •  伪装坚强ぢ
    2020-12-14 07:28

    To share a temp table between users use two hashes before the name ##like_this.

    In this case, though make sure you take steps to avoid clashes with multiple instances of the program.

提交回复
热议问题