Thursday, June 1, 2023

Rename AX database after restore

USE master
GO
ALTER DATABASE AxDB
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE
GO
ALTER DATABASE AxDB
Modify Name = AxDB_Contoso
GO
ALTER DATABASE AxDB_Contoso
SET MULTI_USER
GO

No comments:

Post a Comment

Table browser URL in D365FO

Critical Thinking icon icon by Icons8