Maison >base de données >tutoriel mysql >收缩数据库
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