Subject | Re: Execute statement question |
---|---|
Author | Alexander V.Nevsky |
Post date | 2003-11-20T17:30:18Z |
--- In firebird-support@yahoogroups.com, Alex Taylor <basswar@v...>
wrote:
execution and after that performed as any pre-compiled query, but I'm
not shure it's execution details can be reported by tools using API.
Naturally you lose in performance as any interpreter lose to compiler.
Note if you use EXECUTE STATEMENT in the loop, it is translated each
time regardless was it changed or not. This feature is not for usage
instead of normal PSQL but is workaround for problems for which
another workarounds are more expensive.
Best regards,
Alexander.
wrote:
> Hi All!Alex, why not? EXECUTE STATEMENT is translated into BLR before
>
> Does an SP uses the optimizer if I use the EXECUTE STATEMENT in the
> procedure body?
> Does it use indices?
execution and after that performed as any pre-compiled query, but I'm
not shure it's execution details can be reported by tools using API.
Naturally you lose in performance as any interpreter lose to compiler.
Note if you use EXECUTE STATEMENT in the loop, it is translated each
time regardless was it changed or not. This feature is not for usage
instead of normal PSQL but is workaround for problems for which
another workarounds are more expensive.
Best regards,
Alexander.