Using First_rows hints change the sql plan
Kok AikJan 20 2009 — edited Jan 22 2009Dear All,
I have a query with a first_rows hint and this causing it to used sub-optimal plan by choosing the wrong indexes.
Besides, its applied a conversion function to the where clause condition compared if the case if it is using the right plan.
Appreciate if you can throw some light on using the first_rows hint
Thanks
Rgds
Ung