hola amigos,
tengo problemas con este trigger y no veo donde esta el error ¿me echais una mano?
el trigger en cuestion es este:
.. y los errores que obtengo son estos:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'end if' at line 1