sql server - User-friendly way to present audit log sql -


i have been searching forum audit-logger, , found super nice one: record logging

first of - audit log ! admin perspective. have surgestion how can transform presentation of audit log more user-friendly setup.

i have added audit log trigger table tbl_setup_paycurve (paycurve_id, paycurve_name, kpi_id). let's create view (vw_paycurve) add fk's value fx vw_paycurve.kpi_name.

now changes paycurve_name. audit log log table='tbl_setup_paycurve', fieldname='paycurve_name', pk='paycurve_id=1', oldvalue='oldval', newvalue='thisisanewvalue'.

here comes question; how can join vw_paycurve , tbl_audit in dynamic way? want data in vw_paycurve , tbl_audit inner joined on pk values.

thanks!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -