Quantcast
Channel: log – Kenneth Dalbjerg
Viewing all articles
Browse latest Browse all 5

Shring SQL log file

$
0
0
USE [TestDb] GO ALTER DATABASE [TestDb] SET RECOVERY SIMPLE WITH NO_WAIT DBCC SHRINKFILE([TestDb_Log], 1) ALTER DATABASE [TestDb] SET RECOVERY FULL WITH NO_WAIT GO   Where TestDB, is the database name, and TestDB_Log is the SQL Log file name....

Viewing all articles
Browse latest Browse all 5

Trending Articles