摘要:
USE [newSoc]GO/****** Object: Trigger [dbo].[reminder2] Script Date: 09/18/2013 09:42:42 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER TRIGGER [dbo].[reminder2]ON [dbo].[要触发的表]AFTER INSERT, UPDATE AS--InSert inserted、deleted 为固定的检测是否有插入IF (EXISTS(SELECT TOP 1 ID from inserted) AND NOT EX 阅读全文