Subject | Re: [ib-support] Token unknown |
---|---|
Author | Helen Borrie |
Post date | 2003-04-29T07:30:14Z |
At 09:00 AM 29/04/2003 +0200, you wrote:
trigger.
heLen
>Why do I get a " token unknown - line 4 char 4 SET error on the followingSET GENERATOR is a DDL command - you can't use it in a stored procedure or
>code?
>
>COMMIT WORK;
>SET AUTODDL OFF;
>SET TERM ^ ;
>
>/* Stored procedures */
>
>ALTER PROCEDURE "CLEANMESSAGES"
>AS
>BEGIN
> SET GENERATOR GEN_MSGS TO 0;
> SET GENERATOR GEN_MSGIMPORTS TO 0;
> SET GENERATOR GEN_TXNERROR TO 0;
>
> DELETE FROM MESSAGES;
> DELETE FROM TXNERROR;
> DELETE FROM MESSAGEIMPORTS;
>END
> ^
>
>SET TERM ; ^
>COMMIT WORK;
>SET AUTODDL ON;
trigger.
heLen