How to Create a Centralized Audit-log via SQL Query