Subject Re: [firebird-support] Re: Stored Procedure question
Author Milan Babuskov
Michael Vilhelmsen wrote:
>>> begin
>>> s='SET STATISTICS INDEX '||s||';';
>>> execute statement :s;
>>> end
>>> suspend;
>>>end

> It seems as if I only gets the last value returned to me....

Put suspend before end, like this:

execute statement :s;
suspend;
end
end

--
Milan Babuskov
http://fbexport.sourceforge.net
http://www.flamerobin.org