DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
RuthO 7/12/2012 3:09:26 PM

Dynamics - How to log the user that changed a field in the database

* This article, and all our great SQL (General) documentation, Is available on the SQL (General) menu

I have a solution that will 'audit' changes to the database... but it doesn't log who did it. Also, my existing solution is too heavy handed... it logs every change to every field. This short script will show you how to log the changes to just one field and who did it.

In our example we'll log the changes to the Customer PO Number field in the SOP Work Header table.

Version: All
Section: SQL Scripts