Plucka
asked on
Audit of Database Changes
Is there an easy way to see what fields have changed in a database.
I have an audit requirement that basically needs me to determine what changed
So when I do an update, I would ideally like to know what columns and fields changed
Something like
Name: Fred Fluntstone
changed to
Name: Fred Flintstone
I have an audit requirement that basically needs me to determine what changed
So when I do an update, I would ideally like to know what columns and fields changed
Something like
Name: Fred Fluntstone
changed to
Name: Fred Flintstone
ASKER
Cost isn't really an issue, but the basic things I need to log are
date
time
user
description of event
database changes
date
time
user
description of event
database changes
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What I've done in the past is understand from a business aspect what information is really needing to be audited and logged. After you identify the columns, write a trigger that either logs the change into an audit table or fires off an alert. Lastly, another option is to implement auditing at the entire database level.
It really just depends on what you requirements really are and what $$ you have to work with.