針對一個SQL SERVER 表的三個觸發器

第一個: CREATE TRIGGER [更新數據] ON [dbo].[TABLE1] FOR update AS if @@datefirst=5 return SET DATEFIRST 5 update  table1 set table1.順序=table1.順序+1 from table1,inserted,deleted where table1.順序>=inserted.順序 an
相關文章
相關標籤/搜索