小技巧 · 2022年4月14日 0

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

use master

exec sp_removedbreplication ‘XXX_DATA’

go