摘要: 判断是插入,更新还是删除 DECLARE @IsInsert bit, @IsUpdate bit, @IsDelete bit IF EXISTS(SELECT 1 FROM inserted) AND NOT EXISTS(SELECT 1 FROM deleted) SET @IsInsert 阅读全文
posted @ 2017-03-07 15:43 每天进步多一点 阅读(1757) 评论(0) 推荐(0) 编辑