I used to execute this script to quickly disconnect all connections to the current database. Then I will execute this script to disconnect all connections, but when I reinstall SQLSERVER, it is inconvenient to find the script execution in the code library. In fact, the database can be detached and all connections can be dropped by 1USEmasterANSI_NULLSQ.
I used to execute this script to quickly disconnect all connections to the current database. Then I will execute this script to disconnect all connections, but when I reinstall SQLSERVER, it is inconvenient to find the script execution in the code library. In fact, the database can be detached to disconnect all connections. 1 USE master ANSI_NULLS Q
How to quickly disconnect all connections to the current database
I used to like to execute this script, and then execute this script when I want to disconnect all connections. But when I reinstall SQLSERVER, I need to execute this script in the code library.
It is inconvenient to find this script for execution. In Hong Kong Space and Hong Kong virtual hosts, in fact, the database can be detached from all connections.
1 USE cipher. (100) (30) (VARCHAR, spid) AS spId19FROM master... SysProcesses (dbid) spid dbid TmpCursor (@ killspId) TmpCursor extends TmpCursor, virtual host