How to Shrink Data and Log Files | SQL Server
DBCCopentran(database);.andfoundthatnotransactionisopennow.Whatisstoppingmefromshrinkingthelogfile?HowcanIsolvethis?,1)SwitchtoSimpleRecoveryModel·2)RunaCHECKPOINTandDBCCDROPCLEANBUFFERS(justincase)·3)Shrinkthelogfile·4)SwitchbacktoFull ...,Youne...。參考影片的文章的如下: