Subject | Re: [IBO] SP???? |
---|---|
Author | Alexander Khvastunov |
Post date | 2002-01-16T14:50:20Z |
> The problem seems to be at this line:-No, it seems that the problem is here:
> BEN_ID = GEN_ID( BENID_GEN, 1 );
> set term ^ ;^^^^^^^^^^^^^^^^^^
> CREATE PROCEDURE INSERT_BEN AS BEGIN EXIT; END ^
>
> SET TERM ; ^
> ALTER PROCEDURE INSERT_BEN ( BENEF_ID VARCHAR(15)You should remove this SET TERM statement.
Or, alternatively, add another SET TERM after this one:
set term ^ ;
CREATE PROCEDURE INSERT_BEN AS BEGIN EXIT; END ^
SET TERM ; ^ <------------- remove this _OR_
SET TERM ^ ; <------------- add this
ALTER PROCEDURE INSERT_BEN ( BENEF_ID VARCHAR(15)
etc...
Hope, this will help...
Best regards,
Alexander Khvastunov
IBExpert - The Most Expert for InterBase and FireBird
http://www.ibexpert.com