Hi,
I craeted an indexed view which is based on aggregates of the base table.
When I checked the execution plan, the optimiser was ignoring the indexed view, there fore I used the NOEXPAND HINT Clause in my query.
Modifiying the view resulted in the index being dropped and the query returned the error:
Hint 'noexpand' on object
When I am modying an indexed view why don't I get a warning that the index on the view might be dropped.
Is this an indexed view bug and if so should I restrain from using NOEXPAND?