sybasesap-asevb5

How to write an audit trail for a table


I am using vb5 and sybase db. I have different roles of people ( with active directory groups), change the tables. I want to write an audit trail (audit table) for this table, to see...all those who changed with time stamp). How to acheive this?


Solution

  • Triggers will work, but depending on the level of granularity and security you need, you may also want to look at using the auditing functionality included in Sybase ASE.

    Here is the information on the built in auditing options:

    Sybase ASE System Admin Guide: Security Administration - Auditing

    Sybase ASE System Admin Guide: Auditing