ALTER DATABASE DevAssistant
SET RECOVERY SIMPLE;--设置简单恢复模式
GO
DBCC SHRINKFILE (DevAssistant_Log, 1);
GO
ALTER DATABASE DevAssistant
SET RECOVERY FULL;--恢复为原模式
GO
时间: 2024-10-17 12:30:35
ALTER DATABASE DevAssistant
SET RECOVERY SIMPLE;--设置简单恢复模式
GO
DBCC SHRINKFILE (DevAssistant_Log, 1);
GO
ALTER DATABASE DevAssistant
SET RECOVERY FULL;--恢复为原模式
GO