It would be nice to know how to create a trigger that auto-updates the modifiedDate
column in my SQL Server table:
Table TimeEntry
Id (PK)
UserId (FK)
Description
Time
GenDate
ModDate
Trigger code:
+ TR_TimeEntry_UpdateModDate()
+ TR_TimeEntry_InsertGenDate()
An example for update ModDate
would be nice.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…