无法对数据库'XXX' 执行删除,因为它正用于复制”的解决方法

sp_removedbreplication '数据库名称'

原文地址:https://www.cnblogs.com/qanholas/p/2953408.html