How to clean up Transaction Log and Shrink the SQL database
Toavoidthetransactionloggrowth,youcanremoverowsbybatcheswithinaWHILEcycle.Thiswillhelpyoutoreducetheworkofyourtransactionlog.,Ihaveatablewith20Gbofdata.Iwanttodelete90%ofdatalet'ssay18gbdatafromthetablewithDELETEcommandwithsomecondition.,Pleasead...。參考影片的文章的如下: