What does sp_reset_connection do?

前端 未结 2 1606
面向向阳花
面向向阳花 2020-11-27 03:50

sp_reset_connection seems to be called by SQL Server connection pooling, to ensure that connections reused from the pool have most of their settings reset. Does anyone know

2条回答
  •  囚心锁ツ
    2020-11-27 04:21

    From this forum post:

    The sp_reset_connection stored procedure is used to reset a connection so that when it is used in a pool, nothing from a previous session is stored that is connection-specific.

提交回复
热议问题