Does anyone have a good script to shrink a SQL 2005 database to a size (or % free space) that you set?


I now there is DBCC Shrinkdatabase. That is not shrinking the size down.

Thanks
Gary