Announcements
No record found.
Hi:
How do you conduct "update" statements in SQL for a Business Central company?
Thanks!
John
Hi, if you want to modify the existing records in a table, you should use the following method.
Record.Modify([Boolean]) Method
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-modify-method
And, Insert, Modify, ModifyAll, Delete, and DeleteAll Methods
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-insert-modify-modifyall-delete-and-deleteall-methods
Hope this helps.
Thanks.
ZHU
You should not really be doing direct updates of your Business Central data directly in SQL server. You should do updates through AL code as Zhu is talking about.
And you will only have access to SQL data in BC on-prem - in BC online you do not have direct database access.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 727 Super User 2026 Season 2
YUN ZHU 512 Super User 2026 Season 2
Grigorios Mavrogeorgis 321 Super User 2026 Season 2