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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

On-premise SQL Table Name Suffix

(0) ShareShare
ReportReport
Posted on by 4,133

The SQL Tables of the Business Central Database has long ID as suffix. What is the name for that ID and where can I find more about it? If we write SQL Query in one environment and need to use the same query in another environment, we have to rename the tables in Query since the ID may be different. What is the best way to re-use SQL Query Scripts in such situations?

pastedimage1600560546674v2.png

  • Verified answer
    THE Italian Profile Picture
    Microsoft Employee on at

    All the tenant tables have now an ID that could be the base application ID or system application ID or whatever App ID.

    They should not change in any environment, unless these comes from different app.

  • Community Member Profile Picture
    on at

    Can you please explain more about how the ID's per table are generated?

    We have an application that will support multiple BC customers?  So, how would we know each customer's table suffix Id?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 665 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 418 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans