To force logout of all users at a given time, set this stored procedure to run as a scheduled task at whatever time you want everyone out. Then exec the sp_dboption with ‘false’ when you’re ready to let them on again.

For SQL Server 6.5

Author: Marty Parten

Download Script:

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

Previous articleALLOC.SQL
Next articlesp_ABTableSize.sql

Latest Articles