|
|
|
Что такое sp_reset_connection ?
|
|||
|---|---|---|---|
|
#18+
Кто знает как работает расширенная хранимая процедура sp_reset_connection ? Ее использует в своей работе .Net SQL Server Provider. Судя по названию, она должна сбрасывать свойства (SET) соединения в значения по умолчанию. При ручном запуске в QA появляется ошибка в 1 строке процедуры. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.12.2002, 13:21:37 |
|
||
|
Что такое sp_reset_connection ?
|
|||
|---|---|---|---|
|
#18+
См. http://support.microsoft.com/default.aspx?scid=kb;en-us;310617 : When you use connection pooling to connect to SQL Server, SQL Server calls the sp_reset_connection stored procedure before re-using a connection from the pool. Use of the sp_reset_connection stored procedure ensures that the connection options are reset so that the client application has no persisting settings from the previous statements that were executed on that connection ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.12.2002, 13:47:48 |
|
||
|
Что такое sp_reset_connection ?
|
|||
|---|---|---|---|
|
#18+
Получается, что вызывать эту процедуру может только сам сервер (он проверяет SPID) ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.12.2002, 13:53:00 |
|
||
|
|

start [/forum/topic.php?fid=46&fpage=3365&tid=1818311]: |
0ms |
get settings: |
7ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
42ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
29ms |
get tp. blocked users: |
1ms |
| others: | 212ms |
| total: | 314ms |

| 0 / 0 |
