Subject Re: [firebird-support] Procedure as Function calling
Author Woody (TMW)
From: "fomin_maxim" <kievfm@...>
> Hello!
>
> I have question. I have procedure, for example:
>
> CREATE PROCEDURE SQR(X INTEGER) RETURNS(RESULT INTEGER) AS
> begin
> Result=:x*:x;
> suspend;
> end


Remove the suspend statement. You don't need it since there will never be
more than one row returned.

Woody (TMW)