The information should be 2 date time columns(inserted/updated) with ms precision and should be automatically updated by the server whenever someone inserts, or updates a row.
The information should be 2 date time columns(inserted/updated) with ms precision and should be
Share
Add columns to your table
Create an Update and Insert Trigger to update the columns
Now if you want to be really clean, you’d make sure that these two columns couldn’t be changed/updated by using views instead of direct table access for your other access to the data. Also if your primary keys aren’t consistent, and you have many tables I’d suggest you use CodeGeneration to create the sql. MyGeneration would do nicely.