Windows SharePoint Services 3.0 SP1 includes these new Stsadm command-line tool operations:

Mergecontentdbs - Permits a site collection to be moved from one content database to another when the parameters sourcedatabasename and destinationdatabasename are specified.

Renamesite – Changes a URL of a host-named site collection to a new URL.