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 :
Small and medium business | Business Central, N...
Suggested Answer

Updating NAV DB using SQL

(0) ShareShare
ReportReport
Posted on by

I have long experience in ERP systems but I am fairly new to NAV. 

After making some Power Pivot reports on the NAV database I am learning about the NAV database and structure.

We want to change the customer hierarchy not only on the customer card but also in the history.

Our consultant claims the database is complex an can easily be corrupt because you cannot see all the dependencies. I have all the respect for what you can do with SQL in a database but here I claim it should be possible. Am I right or should I forget about this option.

This is one example of what I want to do.

update "xxx$Dimension Set Entry" set "Dimension Value ID"='35',"Dimension Value Code"='1.1.2 xxx' where "Dimension Value ID"='92'

Thanks,

I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    It is possible, but you need to be very careful and take precaution. Document it and have a plan to revert it back in case there is an issue.

    You need to understand that there is a risk on doing it directly. There is a valid reason why we normally don't recommend updating the sql table directly, especially to a non-NAV people.

    If you have done your research and have confidence, you can do it.

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans