Subject | Token unknown |
---|---|
Author | Tim Ledgerwood |
Post date | 2003-04-29T07:00:26Z |
Why do I get a " token unknown - line 4 char 4 SET error on the following 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;
[Non-text portions of this message have been removed]
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;
[Non-text portions of this message have been removed]