Answers for "how to rename server in azure data st"

SQL
1

rename azure database

USE master;  
GO  
ALTER DATABASE MyTestDatabase SET SINGLE_USER WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE MyTestDatabase MODIFY NAME = MyTestDatabaseCopy ;
GO  
ALTER DATABASE MyTestDatabaseCopy SET MULTI_USER
GO
Posted by: Guest on March-06-2020

Code answers related to "how to rename server in azure data st"

Code answers related to "SQL"

Browse Popular Code Answers by Language