February 27, 2009 at 11:21 pm
My dear Friends!
I have got a task, I want to manage the tables in database
when user are update, or insert or delete the records , i have to find and stored on another table or fetch them or maintained some other types
what i do , if i creating trigger but it's only for particular table, how can we
create for entire Database
please help me......
by
sara.s
February 28, 2009 at 5:29 am
you have to create a trigger for each table you want to audit. it's rare that you really need a trigger on EVERY table...just specific ones is more common.
look in the scripts section for "AUDIT", there are several scripts that create audit-type TRIGGER statements for every TABLE in sysobjects; that should get you started
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply