Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
CREATE TRIGGER trg[b]TableName[/b]UpdateDate
ON [b]TableName[/b]
AFTER INSERT, UPDATE
AS
BEGIN
UPDATE t
SET [b]DateColumn[/b] = GetDate()
FROM [b]TableName[/b] AS t
INNER JOIN Inserted AS i
ON t.[b]KeyColumn[/b] = i.[b]KeyColumn[/b]