This is the code snippet I saved. it works on sql 7 (I think should also work with sql 2000). Try it first in your test server
USE master --use master db
GO
EXEC sp_dboption dbSVS, 'Single User', True --set db to single user
EXEC sp_renamedb 'dbSVS', 'dmdbsvs' --change db_name
EXEC sp_dboption dmdbsvs, 'Single User', False --change back db to multiple user
GO
"-=Still Learning=-"
Lester Policarpio