Tuesday, September 21, 2021

Rename Database

 Select master first

USE master;  

GO  

ALTER DATABASE Logistics SET SINGLE_USER WITH ROLLBACK IMMEDIATE

GO

ALTER DATABASE Logistics MODIFY NAME = Logistics_Org ;

GO  

ALTER DATABASE Logistics_Org SET MULTI_USER

GO

No comments:

Followers

Link