Hi Everybody,
I have a complex view, that includes a "group by" clause. I'm trying
to join this view with a table, in a very simple query.
The problem is that the optimizer is not using the table data as input
for the view (I expect this because I have arguments for the table,
but not for the view), but executing the view in a different step and
then joining to the table by a merge/hash join. This is obviously very
slow.
I tried to force nested loops by using hints but it still doesn't use
the table data as input.
Has anybody ever seen this?
Thanks in advance...