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 :
Microsoft Dynamics NAV (Archived)

Join tables from different NAV databases

(0) ShareShare
ReportReport
Posted on by 30

I need to have the data from one particular table that are available in four NAV dbas (4 different tables), consolidated in one table. I believe that the procedure would be to create an extra table in one of the dbas that will pull information from the 4 tables and consolidating it. I would also need to create in this new table, a column reporting where the data came from. Ideally, I would have to create a routine of updating this table every 10th of each month.
 
My question: Is it possible to do the described procedure? Is it very complicated?
 
I would really appreciate some help. Thank you! Sandra

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Sandra,

    You might need to add a little extra to your post in order to determine how people may answer.

    1) Are you using SQL databases?

    2) Do you want this table to be available for reporting/use in Navision?  Or for another external system?

    For example:

    1) If SQL databases.

    2) If you want the consolidated table to be available outside of Nav

    3) If the tables contain EXACTLY the same fields.

    4) If you want to just combine all the results together (not removing duplications)

    In this specific situation you could utilise what is termed a UNION query within SQL.  The UNION ALL option will allow you to join the tables together, and will just combine all the records (as it assumes the fields are the same).  There is even an option to add a "Text string" to determine what records came from what tables.

    This is a good page - office.microsoft.com/.../combine-the-results-of-several-select-queries-by-using-a-union-query-HA010206109.aspx

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans