ALTER DATABASE dbname SET RECOVERY SIMPLE WITH NO_WAIT;
GO
DBCC SHRINKDATABASE(dbname, 5, TRUNCATEONLY);
-- or
DBCC SHRINKFILE([dbname_Log, 10);
GO
ALTER DATABASE dbname SET RECOVERY FULL WITH NO_WAIT;
GO
스키마 변경 (0) | 2013.07.11 |
---|---|
SQL Server 2012 Sample Database (0) | 2013.05.02 |
SQL Server 2012 LocalDB 기능소개 (0) | 2012.05.17 |
SQL Server 2012 Express - LocalDB (0) | 2012.05.17 |
컬럼에 한글 포함여부 검사 (0) | 2012.05.15 |