The plan is changing because in the first querry you have usedOriginally posted by hrishy
why is the plan getting changed ?
regards
Hrishy
and in the nextCode:AND (tptfbdr_a.codptf = 'CROSB')
And because of this the access order of the table has changes as the table tptfbdr_b is some where at the bottom and tptfbdr_a is at the top in the from clause.Code:AND (tptfbdr_b.codptf = 'WARTS')
Try using
and see whats the plan.Code:AND (tptfbdr_a.codptf = 'WARTS')






Reply With Quote