rename azure database

Solutions on MaxInterview for rename azure database by the best coders in the world

showing results for - "rename azure database"
Halima
06 Aug 2019
1USE master;  
2GO  
3ALTER DATABASE MyTestDatabase SET SINGLE_USER WITH ROLLBACK IMMEDIATE
4GO
5ALTER DATABASE MyTestDatabase MODIFY NAME = MyTestDatabaseCopy ;
6GO  
7ALTER DATABASE MyTestDatabaseCopy SET MULTI_USER
8GO
9