
05/11/2012, 09:35
|
 | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 8 meses Puntos: 774 | |
Respuesta: Modificar multiples registros con un solo trigger
Código SQL:
Ver originalCREATE TRIGGER ON tabla after UPDATE AS BEGIN DECLARE @COUNT INT SELECT @COUNT=conut(*) FROM deleted IF @COUNT=1 BEGIN tus instrucciones END END
algo asi :)
__________________ What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me |