Ver Mensaje Individual
  #9 (permalink)  
Antiguo 14/08/2009, 12:20
almirante
 
Fecha de Ingreso: abril-2009
Mensajes: 41
Antigüedad: 15 años
Puntos: 0
Respuesta: No me funciona los TRIGGERS en my sql phpmyadmin

hola, ahora he añadido el REPLACE para que lo reemplace y me dice esto:

Error

consulta SQL:

delimiter && CREATE OR REPLACE TRIGGER fecha
AFTER INSERT ON Grupo
FOR each
ROW
BEGIN
UPDATE Grupo SET Fecha_x =9;

END &&

MySQL ha dicho: Documentación
#1064 - 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 'TRIGGER fecha
after INSERT ON Grupo
FOR each row
begin
UPDATE Grupo SET Fech' at line 1