DML类型 | FROM子句 |
Insert | FROM Inserted |
Update | FROM Inserted JOIN Deleted ON Inserted.PK = Deleted.PK |
Insert、Update | FROM Inserted LEFT OUTER JOIN Deleted ON Inserted.PK = Deleted.PK |
Delete | FROM Deleted |
DML类型 | FROM子句 |
Insert | FROM Inserted |
Update | FROM Inserted JOIN Deleted ON Inserted.PK = Deleted.PK |
Insert、Update | FROM Inserted LEFT OUTER JOIN Deleted ON Inserted.PK = Deleted.PK |
Delete | FROM Deleted |