I have a load of tables all with the same 2 datetime columns (lastModDate, dateAdded).
I am wondering if I can set up global Insert Update trigger for these tables to set the datetime values. Or if not, what approaches are there?
Any pointers much appreciated
You can use DEFAULT values for the inserts (dateAdded) and a TABLE trigger for the UPDATE.
Something like