Quantcast
Channel: Answers for "executing a query using 2 DB views - inner joined takes long"
Browsing latest articles
Browse All 6 View Live

Answer by Pavel Pawlowski

Without knowing details about the views its hard to tell you what exactly causes the longer execution time. Firs you should take a look on the query plan and start from here to optimize the query....

View Article



Answer by Grant Fritchey

In general, joining one view to another, or nesting views inside of each other, is a bad practice for TSQL statements. It leads to very bad execution plans. The optimizer goes through three basic steps...

View Article

Answer by SBhagat

Thanks for the replies. I don't have a choice but to create DB views for reporting purposes. Views are created accross databases ( min. 2 and max 3 DBs). So indexed views ae not the option. I have...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images