摘要:
直接上代码吧: 1 ALTER TRIGGER [dbo].[tgr_forOpType] 2 ON [dbo].[OpTypeLog] 3 FOR INSERT, UPDATE, DELETE 4 AS 5 begin 6 declare @id int 7 declare @tableName varchar(50) 8 set @tableName = 'TableName' 9 declare @opType varchar(50)10 --insert--------------------------------------------------------11 阅读全文