Skip to main content

Notifications

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 3,841

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

  • Community Member Profile Picture
    on at
    RE: On-premise SQL Table Name Suffix

    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?

  • Verified answer
    THE Italian Profile Picture
    on at
    RE: On-premise SQL Table Name Suffix

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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,998 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,850 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans