Subject | Re: [firebird-support] Re: Question about PLANs |
---|---|
Author | Arno Brinkman |
Post date | 2003-12-08T11:44:38Z |
Hi Marco,
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird links :
http://www.firebirdsql.com
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Nederlandse firebird nieuwsgroep :
news://80.126.130.81
> In the explanation below, you mention forcing NO PLAN:Do I
> >>If the plan can change frequently (Because the contents of the tables
> >>> will change continuously), this statement shouldn't be used inside a
> >>> Stored Procedure. AFAIK, the plan will be defined when the SP is
> >>> created and, in this case, the selected plan couldn't be the most
> >>> adequate. Is this correct ?
> >
> >
> > No, when NO PLAN is forced in the Stored Procedure then the PLAN is
> > calculated before execute and this is what you always want.
>
> Can you explain this some more? How do I force NO PLAN for stored procs?
> need to do this or is it implicit? I am aware that a PLAN can be includedin
> trigger/proc code since Fb1.5, but I see no reference to NO PLAN option.With NO PLAN i just meant statement without PLAN syntax.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird links :
http://www.firebirdsql.com
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Nederlandse firebird nieuwsgroep :
news://80.126.130.81