canuckconsulting
asked on
Want date/time of every change to row in SQL Server table
I am using SQL Server Express 2008 and have a table where I want to know the date/time when the rows in the table are modified/added. Do I need to use a datetime field with a trigger to do this or is there a better way? Either way I would like an example to follow.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Please also read http://msdn.microsoft.com/en-us/library/bb839514.aspx regarding MIN_ACTIVE_ROWVERSION, which explains the issues with using rowversion data in transactions and blocks of changes.