If you enable versioning for Document Libraries in Microsoft Sharepoint Portal Server 2003 or Windows Sharepoint Services 2.0 a copy of a document is stored in the database each time you edit the document or it's properties.
If you have documents that are edited or updated often this will create a lot of versions of this document.
In Sharepoint there is no way to limit the number of versions to keep so the amount of space used by the copies of the document will only increase.
This tool can be used to delete the unnecessary versions of documents in a document library. You can configure how many versions you would like to keep for a document library and the rest will be deleted.

You can download this free tool below.
Remember to always have a good backup of your Sharepoint Site before running any tool that deletes data.