• dan-572483 (12/3/2013)


    What happens if you run this command while a database is actually in the process of restoring?

    Nothing, because the running restore will have an exclusive lock on the database.

    Is this a safe thing for the OP to try?

    Wouldn't have suggested it if it wasn't.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass