Reply to Re: Different query plans for view and view definition statement
Posted by ysfinks on 10/01/25 11:42
View was created from Query Analyzer. If I remove nolock - same result.
Another fact - if I change condition value in where clause, for some
values it gives for the view the good query plan using index for
eccrootid.
For the query simulating the view - always good plan.