更改系统表
use master
Go
sp_configure 'allow updates',1
reconfigure with override
Go
update sysdatabases set name='tbB' where name='tbA'
Go
sp_configure 'allow updates',1
reconfigure with override
Go
update sysdatabases set name='tbB' where name='tbA'