急急急 我的数据库改不了名字了

语句exec sp_renamedb '工程数据库', '工程库'
错误提示Server: Msg 5030, Level 16, State 2, Line 1
The database could not be exclusively locked to perform the operation.
[189 byte] By [mafe-mafe] at [2008-2-13]
# 1
未能排它地锁定数据库以执行该操作。
这是原因,处理办法呢就是把企业管理器闭掉,只在查询分析器里执行
我是这么弄的
ln02228 at 2007-10-26 > top of Msdn China Tech,MS-SQL Server,应用实例...
# 2
use master
exec sp_renamedb '工程数据库', '工程库'
supsuccess-火气不小 at 2007-10-26 > top of Msdn China Tech,MS-SQL Server,应用实例...
# 3
关掉后好像就改成了,真怪
mafe-mafe at 2007-10-26 > top of Msdn China Tech,MS-SQL Server,应用实例...