sp_Axeusers.SQL

SP_AXEUSERS sends out a net send message to all users connected to a user defined database and then disconnects them thirty seconds later.

Simply run SP_AXEUSERS @USRDB = ‘MYDATABASENAME’

(‘MYDATABASENAME’ being the variable).

Make sure that you are out of the database yourself before you run the stored procedure. I would recommend that you do not run this in the master database.

For SQL Server 6.5

Author: Brian Knight

Download Script:
sp_Axeusers.SQL



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Latest Articles