Please Help Me...

  • 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

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply