Subject Re: How to rename index without DROP / CREATE
Author Svein Erling Tysvær
--- In firebird-support@yahoogroups.com, "Martijn Tonies" wrote:
> > I need self-defined names as I have to provide my own PLAN for some
> > selects.
>
> Question 1 would be: why are you using the PLAN clause?

Expanding on/explaining Martijns question. It isn't all too uncommon
that the optimizer chooses a bad plan. But in most cases, we solve
this by hinting/restricting the optimizer through changing our SQL in
some silly way (e.g. by adding 0 or an empty string), rather than
explicitly writing the plan. I have supplied a specific plan in some
circumstances (I think it was once-off queries all the time, so I
didn't bother to check too much if I could solve the plan problem
otherwise), but this is normally not desirable.

Set