mysql 不能创建触发器,mysql – 创建触发器错误:语法无效
SQL查询:CREATE TRIGGER tg_newuser_insertBEFORE INSERT ON tbl_newuserFOR EACH ROWBEGININSERT INTO tbl_seq VALUES (NULL)SET NEW.id = CONCAT('YTUM', LPAD(LAST_INSERT_ID(), 8, '00000'));ENDMySQL said: Docum...