How do i create a trigger for update. I need it to update the modified date and how it was updated based on the id that was just updated..
It has been a while since i worked with triggers..
Create TRIGGER tblUpdate on tblA
For Update
As
Update tblA
set dtDateModified = getDate() ,
FlagHowModified = 'web'
where ID = (ID just updated)
Thanks
It has been a while since i worked with triggers..
Create TRIGGER tblUpdate on tblA
For Update
As
Update tblA
set dtDateModified = getDate() ,
FlagHowModified = 'web'
where ID = (ID just updated)
Thanks