skip to main
|
skip to sidebar
Introduction to Testing
Friday, December 30, 2011
To Shrink or Compress the DB file or DB log
USE DatabaseName
GO
DBCC SHRINKFILE(
, 1)
BACKUP LOG
WITH TRUNCATE_ONLY
DBCC SHRINKFILE(
, 1)
GO
Note:- Provide the Database name and the TransactionLogName within single quotes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Contributors
Munni
Zakir Hussain
Tips in Manual Testing
►
2008
(51)
►
March
(51)
►
2009
(5)
►
June
(2)
►
August
(1)
►
October
(1)
►
December
(1)
►
2010
(1)
►
June
(1)
▼
2011
(7)
►
September
(4)
▼
December
(3)
Issue with the Message Queue
To Know the DB file size consumption
To Shrink or Compress the DB file or DB log
►
2012
(1)
►
September
(1)
►
2013
(4)
►
March
(1)
►
June
(2)
►
December
(1)
►
2014
(2)
►
April
(1)
►
September
(1)
►
2015
(1)
►
March
(1)
No comments:
Post a Comment