Last week I had an interesting dispute with a developer who insisted that the use of a union view would effectively cause the optimizer to skip the use of indices in an execution plan. I no longer have a DB2 instance to test on, so I tried something similar in Oracle 9i.
I cannot really reproduce this. As long as I use conditions that relate to a table column that is indexed execution plans seem to be okay.
Anyone comments?
Ties Blom
I cannot really reproduce this. As long as I use conditions that relate to a table column that is indexed execution plans seem to be okay.
Anyone comments?
Ties Blom