USE master
GO
ALTER DATABASE AXDB
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE
EXEC master..sp_renamedb 'AXDB','AXDB_Old'
ALTER DATABASE AXDB_Old
SET MULTI_USER
Keep daxing!!
No comments:
Post a Comment