When I shrink a sql server database using the GUI (All Tasks->Shrink Database->Accept all defaults, click OK), it finishes quickly.
But if I run this command, it takes a very very long time.
DBCC SHRINKDATABASE('my_database')
What am I missing?
This is in SQL Server 2000.