DELIMITER //
BEGIN
DECLAREFOR SELECT Tgrowth,TYear,myMONTH FROM Employee; CLOSE mycursor;
ENDYou have an error in your SQL syntax; check the manual that correspo
我试图让mysql触发器在mysql工作台中工作。当有错误的时候,它会很高兴地告诉我,但是当一切看起来都好的时候,它就不会运行。我运行了一个show triggers查询,没有返回任何内容。delimiter //AFTER INSERT ON estimate_lineBEGIN
IF (NEW.CoreTypeID= 3 AND NEW.CoreResourceID IS NOT NULL) THEN BEGIN</