Shrink Databases


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. USE kpi
  2. dbcc shrinkfile ('kpi_log', 1)
  3.  
  4. USE tempdb
  5. dbcc shrinkfile ('tempdev', 1)
  6. dbcc shrinkfile ('templog', 1)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.