SQL Server DBCC Commands: DBCC SHRINKDATABASE
DBCC SHRINKDATABASE is a DBCC command in Microsoft SQL Server that can be used to reduce the size of a database by moving pages of data from the end of the file to the front, and then releasing the unused space at the end of the file. It can be useful for reclaiming space in a database that has grown …