SELECT NAME, size FROM sys.database_files
select name, recovery_model_desc from sys.databases
alter database 数据库名称 set Recovery simple
DBCC SHRINKFILE(N‘查询出来的内部日志名称‘,10)
ALTER DATABASE 数据库名称 SET Recovery FULL
原文地址:https://www.cnblogs.com/TNSSTAR/p/11252081.html
时间: 2024-10-21 18:47:34