sql - How to set Database Audit Specification for all the tables in db -
i need create audit track crud events tables in database , have more 100 tables in db , there way create specification include tables in db ?
p.s : using sql server 2008
change data capture
you can use change data capture functionality mechanism provided sql server 2008.
http://msdn.microsoft.com/en-us/library/bb522489.aspx
note create, update , delete.
triggers , audit tables
even 100 tables, can use single script generate audit tables , necessary triggers. note, not mechanism - slow down control not returned unless trigger execution complete.
Comments
Post a Comment