Have a look at:
- How to: Shrink a Database (SQL Server Management Studio)
- How to: Shrink a File (SQL Server Management Studio)
- How to use the DBCC SHRINKFILE statement to shrink the transaction log file in SQL Server 2005
- DBCC SHRINKDATABASE (Transact-SQL)
Altough for the SSMS refs, I'm not sure they will also work with SSMS-express :blush:
Keep in mind, after a shrink ( except if you only shrink the log file ) you need to perform db maintenance so all indexes get reorganized and will be in optimal shape !
Play it safe: Start with a full backup !
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me