Monday, December 14, 2015

How to Shrink SQL Server 2012 Transaction log file

How to Shrink SQL Server 2012 Transaction log file


use eSPTest;
go
alter database eSPTest set recovery simple;
go
dbcc shrinkfile(eSPTest_log,200)
go
alter database eSPTest set recovery full;
go

No comments:

Post a Comment

  DAILY CHECKLIST Oracle Database instance is running or not select name,open_mode from V$database; Note: Check the Oracle databases are ru...