
10/03/2015, 16:10
|
 | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 6 meses Puntos: 774 | |
Respuesta: Uso Del Trigger prueba con:
Código MySQL:
Ver original INSERT INTO t_extintor_reporte (empresa , folio , fecha , observaciones ) VALUES (new.empresa , new.folio , new.fecha , new.comentario ); UPDATE t_extintor_reporte , t_extintor SET t_extintor_reporte.ubicacion =t_extintor.extintor_desc WHERE t_extintor_reporte.folio =t_extintor.folio ;
__________________ What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me |