Ver Mensaje Individual
  #7 (permalink)  
Antiguo 25/05/2010, 10:04
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 1 mes
Puntos: 15
Respuesta: Pregunta sobre TRIGGER en mysql server 5

Cita:
Iniciado por gnzsoloyo Ver Mensaje
1) No puedes usar la ventana de ejecución de SQL. Tienes que cargarlo como script de SQL.
2) Debe ir la sentencia DELIMITER:
Código MySQL:
Ver original
  1. DELIMITER $$
  2.     INSERT INTO login2(login2.idlogin,login2.nombre)
  3.     VALUES(lNEW.id_log,NEW.nombre);
  4. END$$
  5. DELIMITER ;
ya lo intente cargar como me dijiste y sale lo siguiente

Script line: 4 This version of MySQL doesn't yet support 'multiple triggers with the same action time and event for one table'


saludos