Qommentary
Qommentary Writeback
Qommentary Writeback
  • Welcome
  • Getting started
  • Setting up a connection
  • Defining a primary key
  • Adding data to your table
  • WORKING WITH INPUT DATA
    • Adding input columns
      • Text
      • Number
      • Checkbox
      • Dropdown
      • Rating
      • Color picker
      • Date picker
      • Switch
    • Conditional input control
    • Saving and reverting
  • Writeback Actions
    • Refreshing data
    • Clearing data
    • Reloading data
    • Exporting data
  • Bulk updates
    • Single Column
    • Advance Bulk
  • CUSTOMIZATION
    • Table settings
    • Themes
  • Share
    • Sharing data with your team
    • Customizing email template
  • Advanced
    • Audit Trails
      • File audit trailing
      • Database audit trailing
        • SQL Server example
    • Concurrency
  • Support
    • Submit a ticket
Powered by GitBook
On this page

Was this helpful?

  1. Advanced
  2. Audit Trails
  3. Database audit trailing

SQL Server example

PreviousDatabase audit trailingNextConcurrency

Last updated 4 years ago

Was this helpful?

This section shows how to set up audit trails for a SQL Server table.

The following Customers table will be used as a writeback destination table.

This example assumes that you already have an existing extension using the Customers table as the destination table

To enable audit trails for the Customers table:

1. Create a new table Customers_log with the same structure as the writeback destination table and add the extra auditing columns

Note that the Id column (customer id) is not a primary key on this table since it will be duplicated on the Customers_log table. If you want to assign an id for each audit row, you can add a RowId column and set it as an identity column.

2. Go to the writeback extension in Qlik sense and enable logs

3. Enter Customers_log as the Audit log table name

4. Go to your writeback extension, add a record and click on Save.

5. Edit the existing record and click on Save

6. Open the Customers_log table

As you can see from the Customers_log screenthost, Qommentary audits all changes made by users.