This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

TRIGGER SYNTAX ERROR

MySQL said: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'EACH ROW BEGIN DECLARE new_event_id INT DEFAULT 1001;

Answer Answered by Ian Gilfillan in this comment.

You don't provide any information beyond the error message, but perhaps you have not used delimiters correctly?

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.