The Configure Before-After Data Change window allows you to add, edit or remove the tables for which you want to collect before and after data. You can collect before and after data for DML events generated by DELETE, INSERT, and UPDATE commands.

Collect before and after data when it is critical to capture the exact data change in a table column. When this feature is enabled, you can evaluate the before value and after value for each change in the Audit Events view. Enabling this feature can impact your Collection Server and Management Console performance.

If you want to collect before and after data, verify that you are auditing DML events on this database and that common language runtime (CLR) is enabled on the corresponding SQL Server instance.


To successfully audit specific columns on a table, ensure the table name does not contain the following special characters: \ / : * ? "

Available actions

Specify tables for before and after data collection

Use Add and Remove to specify the tables for which you want to collect before and after data.

Specify which columns to audit

Use Edit to specify which columns you want to audit. You can audit all columns or individual columns that do not contain BLOB data.

Select the maximum number of rows to collect

Use Edit to select the number of rows per transaction that you want to audit from this table. For example, if you select 100 rows, the SQL Compliance Manager Agent will capture the first 100 rows of each DML transaction, and collect all column updates for each captured row. By default, the first 10 rows per DML transaction are captured.

Enable Now

Allows you to enable CLR on the instance hosting this database.

CLR is required by .NET Framework to access details about DML events on the SQL Server database. For more information, see Microsoft Books Online.

Available fields

Table Name

Provides the name of the table you are auditing on this database.

Maximum Rows

Provides the maximum number of rows that the SQL Compliance Manager Agent will capture of each DML transaction.

Columns

Indicates the status of the columns associated with the audited tables. Typically, this field displays All Columns or lists the individual columns that are audited for before-and-after data.

If the audited table contains BLOB data and individual columns that are not selected, the status will display as Not Configured. SQL Compliance Manager does not support auditing BLOB data. To audit data changes on this table, click Edit and then choose the available columns that do not contain BLOB data.



IDERA | Products | Purchase | Support | Community | Resources | About Us | Legal
  • No labels