sqldbpool.com
Shrink SQL Server 2000 Database
Query to generate DBCC shrinkfile script for all the user databases in SQL Server 2000 select ‘use ‘ + ltrim(rtrim(db_name(sd.dbid))) + char(13) + ‘dbcc shrinkfile (‘ + quot…