Subject | Re: [firebird-support] Specifying multiple plans |
---|---|
Author | Vlad Horsun |
Post date | 2007-01-05T22:30:33Z |
> Sorry, I couldn't test as my actual query is more complex and uses aI'm not sure you can specify PLAN for VIEW internals...
> view. The plan generated by Firebird refers to indexes within the view,
> but when I try to use it with the query I get an error message that the
> index is for a table that is not in the query (of course not, it's
> hidden within the view).
> It turns out I don't need to specify a plan. If I remove the problemIt is always better to not specify explicit PLAN ;)
> constraint (which was to return results on only one customer) it returns
> 100 times quicker, and it's easy within Crystal Reports to only display
> the customer I care about.
Regards,
Vlad