Subject | Re: [firebird-support] sqlcode = -607 |
---|---|
Author | Helen Borrie |
Post date | 2004-11-06T08:16:38Z |
At 02:39 PM 6/11/2004 +0800, you wrote:
provided. Selects don't update metadata. Is this all there is? or is your
SELECT procedure also performing some data definition operation inside an
EXECUTE STATEMENT statement?
and not EXECUTING it...
Do you have the correct message file (e.g. firebird.msg) in your server
installation?
./heLen
>firebird-supportAre you calling this procedure using EXECUTE PROCEDURE or SELECT?
>
> When I execute
>a procedure xx,I encountered a error:This exception doesn't seem applicable to the procedure code you
>
> Statement failed, SQLCODE = -607
> unsuccessful metadata update
> -request depth exceeded. (Recursive definition?)
provided. Selects don't update metadata. Is this all there is? or is your
SELECT procedure also performing some data definition operation inside an
EXECUTE STATEMENT statement?
> My procedure:This code looks fine to me - as long as you are SELECTING this procedure
>
> for select areacode,areaname,chargeunit,rateofagent from feeagent
> where domainno = :in_domainno
> and areacode not in (select distinct areacode from feebasetbl
> where domainno = :in_domainno and groupno =
> :in_groupno)
> and areacode not in (select distinct areacode from
> feesubsec where domainno = :in_domainno
> and groupno = :in_groupno)
> into :out_areacode,:out_areaname,:OUT_UNIT,:OUT_RATE
> do
> begin
> suspend;
> end
and not EXECUTING it...
Do you have the correct message file (e.g. firebird.msg) in your server
installation?
./heLen