Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
binary
Starting Member
6 Posts |
Posted - 2008-11-04 : 03:48:38
|
hello i thought that when i switch from full to simple in sql 2005, the file log will be truncated, it seems not the case, i have the same size, is there any mistakeALTER Database test SET RECOVERY FULLGOi backed up the database and the logSELECT name,size from sys.database_filestest_Log 76544i switch to the simple modeALTER DATABASE test SET RECOVERY simpleGOSELECT name,size from sys.database_filestest_Log 76544how i can verify that the log file is truncated??tank you |
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-11-04 : 09:20:36
|
you have to shrink log file with DBCC Shrinkfile after changing to simple recovery model. |
 |
|
|
|
|