Ver Mensaje Individual
  #6 (permalink)  
Antiguo 19/05/2006, 13:07
Guess2006
 
Fecha de Ingreso: mayo-2006
Mensajes: 2
Antigüedad: 18 años
Puntos: 0
Y si

Cita:
Iniciado por Mithrandir
CREATE TRIGGER updInsp ON [dbo].[Inspecciones]
FOR UPDATE
AS
insert into auditoria (tipo, tabla, Cod_Tabla)
select 1, 'Inspecciones', Cod_insp from deleted