Cross/span database query

joswalt
Member Posts: 5
We have need to run a report across 2 separate databases. I know we can do it using raw SQL and SSRS, but I'm trying to make it work in Nav 2009 RTC. I have the query working, but am now ready to work on the report. I'm not sure adding a view will work, because they have to do some funky transposing of the data.
0
Comments
-
A view should work fine. Just attach the view to a table in Navision. The only thing you need to be careful of is that Navision can not apply filters on views, so it forces SQL to build the filtered view in the TempDB which can be very slow. So make sure that the view is already filtered. You can easily do that with some T-SQL.David Singleton0
-
I'll try that, though my query is using a table variable. The original report was dumping everything into a termporary Navision table, which was rather slow.0
-
Is it possible to create the report with the underlying query outside of Navision, just raw SSRS and do a link?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions