mssql提示The operation cannot be performed on a database错误
The operation cannot be performed on a database with database snapshots or active DBCC replicas.
有印象的是刚程序里是做过snapshot的,猜与之有关。
进Microsoft SQL Server Management Studio里看Database snapshots里看,果然是有snapshot,删除之,重新恢复数据,搞定。
补充:数据库,Mssql