web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

I imported new AxDB_UAT, how can I change the existing AxDB to AxDB_Backup, then rename AxDB_UAT to Ax_DB?

(0) ShareShare
ReportReport
Posted on by 240

I need the detail steps (do I need to stop what service when doing that etc).

I have the same question (0)
  • Mark JZ Yeap Profile Picture
    240 on at

    I found the answer.

    Its under "Start to use the new database".

    docs.microsoft.com/.../dbmovement-scenario-exportuat

  • WillWU Profile Picture
    22,361 on at

    Hi Mark,

    What environment are you currently in?

    Do you want to change the name of the database in UAT or the local development environment?

  • WillWU Profile Picture
    22,361 on at

    Are you now exporting the UAT environment to the tier 1 environment and changing the database name?  you can export the UAT database through the documentation and import it in the tier 1 environment and then change the database name in SSMS simply.

    docs.microsoft.com/.../rename-a-database

  • Mark JZ Yeap Profile Picture
    240 on at

    D365FO.

    Not for now. I just only ask a question.

  • Nara Sheshananda Profile Picture
    on at

    Hi Mark,

    execute below query , it will rename the existing AxDB to AxDB_old or you can name whatever you want

    ALTER DATABASE AxDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE

    GO

    ALTER DATABASE AxDB MODIFY NAME = AxDB_Old

    GO

    ALTER DATABASE AxDB_Old SET MULTI_USER;

    GO

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans