Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/05/2009, 07:35
Avatar de chicohot20
chicohot20
 
Fecha de Ingreso: mayo-2009
Mensajes: 388
Antigüedad: 15 años
Puntos: 43
Respuesta: Problema con el siguiente trigger

Creo que el error está en este código:
delete from familia where old.id_familia=id_familia;

Debería ser asi:

delete from familia where id_familia=OLD.id_familia;
return OLD;

Avisame si te funciona.