I have a table with over 300,000 records about 1.5 GB in size
In this table, I have three varchar(5000) fields varchar(5000) , the rest are small fields.
When update , set these three fields to '' .
After shrinking (databases and files) the database uses almost the same space as before ...
DBCC SHRINKDATABASE(N'DataBase' ) DBCC SHRINKFILE (N'DataBase' , 1757) DBCC SHRINKFILE (N'DataBase_log' , 344)
Any ideas on how to recover this disk space?
sql-server-2008 administration
opensas
source share