Best practices for shrinking files in SQL server
DBCCopentran(database);.andfoundthatnotransactionisopennow.Whatisstoppingmefromshrinkingthelogfile?HowcanIsolvethis?,1)SwitchtoSimpleRecoveryModel·2)RunaCHECKPOINTandDBCCDROPCLEANBUFFERS(justincase)·3)Shrinkthelogfile·4)SwitchbacktoFull ...,Youne...。參考影片的文章的如下: