What is the difference between shrinking and truncating database ...
BACKUPLOG指令原本是用來備份log用的,因為加上了WITHTRUNCATE_ONLY選項,所以不會真正備份記錄檔,只會移除非使用的交易記錄。後記.DBCCSHRINKFILE ...,No,theTRUNCATE_ONLYoptionwasremovedin2008anditisalsonotpresentinmorerecentversion.So,youcannotuseitnowa...。參考影片的文章的如下: