{"id":109,"date":"2012-01-10T05:23:19","date_gmt":"2012-01-10T05:23:19","guid":{"rendered":"https:\/\/sqlserverlearner.azurewebsites.net\/2012\/01\/10\/shrink-database\/"},"modified":"2012-01-10T05:23:19","modified_gmt":"2012-01-10T05:23:19","slug":"shrink-database","status":"publish","type":"post","link":"https:\/\/sqlserverlearner.com\/2012\/01\/10\/shrink-database\/","title":{"rendered":"SHRINK Database"},"content":{"rendered":"
Following are the Steps to SHRINK Database in SQL Server.<\/p>\n
1) Connect to the SQL Server in SSMS<\/p>\n
2) Expand Databases<\/p>\n
3) RightClick on the Database to be shrinked, Click on Tasks then on Shrink.<\/p>\n
4) Here you will have two options:<\/p>\n
Using Database option you can shrink the database as a whole
\nFiles option lets you shrink each file associated with the database seperately.<\/p>\n