创建触发器:
1 DELIMITER $$ 2 3 CREATE TRIGGER cpr_del AFTER DELETE ON CLASS_PROPERTY_REL FOR EACH ROW 4 BEGIN 5 CALL gen_ci_property_value(); 6 END$$ 7 8 DELIMITER ;
解释说明:
‘DELIMITER ;’是把定界符再改回默认(需要在DELIMITER和定界符之间有个空格)