Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit b9a68ad

Browse files
added auditLogging to lookupsets (#126)
1 parent b1c1822 commit b9a68ad

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
select
2+
substring(qae.oldrecordmap, charindex('objectid=',qae.oldrecordmap, 0) + len('objectid='), 36) as objectid,
3+
qae.date as modified
4+
5+
from auditLog.QueryUpdateAuditEvent as qae
6+
7+
WHERE qae.comment = 'A row was deleted.'
8+
and qae.QueryName = 'LookupSets'
9+
and qae.SchemaName = 'snd'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
select
2+
substring(qae.oldrecordmap, charindex('objectid=',qae.oldrecordmap, 0) + len('objectid='), 36) as objectid,
3+
qae.date as modified
4+
5+
from auditLog.QueryUpdateAuditEvent as qae
6+
7+
WHERE qae.comment = 'A row was deleted.'
8+
and qae.QueryName = 'Lookups'
9+
and qae.SchemaName = 'snd'

resources/schemas/snd.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
</columns>
283283
</table>
284284
<table tableName="LookupSets" tableDbType="TABLE">
285+
<auditLogging>DETAILED</auditLogging>
285286
<columns>
286287
<column columnName="LookupSetId"/>
287288
<column columnName="SetName"/>

0 commit comments

Comments
 (0)