22,299
社区成员




use master
go
sp_configure 'allow updates', 1
reconfigure with override
go
update sysdatabases set status= 32768 where name = '库名'
DBCC REBUILD_LOG('库名', 'ldf文件名'). -- 你会看到一个消息 - Warning: The log for database '库名' has been rebuilt.
Use master
go
sp_configure 'allow updates', 0
Go