时间:2021-07-01 10:21:17 帮助过:19人阅读
SQL Server收缩数据库 无 USE masterGOIF EXISTS(SELECT name FROM sys.databases WHERE name=N'Test')DBCC SHRINKDATABASE(N'Test')GO
SQL Server收缩数据库USE master GO IF EXISTS(SELECT name FROM sys.databases WHERE name=N'Test') DBCC SHRINKDATABASE(N'Test') GO