Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

AX 2012 Model DB

(0) ShareShare
ReportReport
Posted on by 35

Hi,
we want to get rid of some old databases... Some of them are AX 2012 Model databases.

Is there a way to make sure, no AOS is connected these instances? Maybe a SQL script or something?

Thanks in advance

Frank

  • Yuji Imaoka Profile Picture
    on at
    RE: AX 2012 Model DB

    SysClientSession, SysServerSession table in business database might be other useful tables to check if it is used recently.

  • F. Peters2 Profile Picture
    35 on at
    RE: AX 2012 Model DB

    Hi,

    thank you! Good idea :)!

  • Verified answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: AX 2012 Model DB

    If an AOS is connected, then you can't delete the database since it's in use.

    But that's not a very good way to determine whether the database is needed or not. The AOS might be off right now, but it's still a dev / test environment that is used.

    A model database and a business database always belong together. You could check SysServerConfig table in the business database, to find out some hints about the AOS server that is using this database. Then find out if the server is still used for dev / test purposes.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans