• imSQrLy (8/26/2009)


    At the bottom of the article it states:

    Keep in mind this script will kill any connected users by setting the db to single user with SET SINGLE_USER WITH ROLLBACK IMMEDIATE. Anyone connected will be kicked off. The script does set the db back to multi user when it brings the database back online after the move.This script also turns on and uses the xp_cmdshell advanced option. It will set this option back to its original setting (enabled or disabled) at the end of the script.

    Yup, I see that now on a second read-through. I apologize.

    K. Brian Kelley
    @kbriankelley