Index View Error - Hint 'noexpand' on object is invalid

  • 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?

  • I googled without much luck.

    If Anybody can provide some pointers as to what could be causing this issue

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply