📅  最后修改于: 2022-03-11 15:05:08.944000             🧑  作者: Mango
代码示例1
CREATE TRIGGER TRG_AUD_DEL
ON yourTable
FOR DELETE
AS
INSERT INTO my_audit_table (col1, col2, ...)
SELECT col1, col2...
FROM DELETED