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 :
Dynamics 365 Community / Forums / Finance forum / Execute a SQL script i...
Finance forum

Execute a SQL script in PROD

(0) ShareShare
ReportReport
Posted on by 1,683

It is possible to execute a sql script in AxDB in Production ?

The installation package has a file what seems to run the script 'ExecuteSqlAXDB'. 

Anybody knows if this file can be used to execute a SQL Script? 

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,168 Super User 2025 Season 2 on at

    Hi Adrian,

    If you need to run a script, contact Microsoft Support to have it executed. Don't experiment with unsupported ways of getting it done. We had some issues at a customer where we worked together with Microsoft to have scripts executed.

  • CU01052230-0 Profile Picture
    on at
    I just started working with D365 F&O. Does contacting Microsoft support help write SQL scripts  for invoices—unpaid/paid, open invoices?
  • Suggested answer
    Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    Hello,
     
    No they don't help with creating SQL scripts, that is not their role. As an alternative (to executing a SQL script in production) you can create and execute your own custom scripts in production, see link below.
     
    Run custom X++ scripts with zero downtime
     
    By the way, next time just create a new post instead of replying to a post from 2018 ;-).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans