create trigger that store old values to a table before updating

  • i am trying to create a trigger that will insert the old values into a different table before updating the vaules in the table.

  • Is there a question here?

    Please read Books Online or research a little. There are lots of examples for triggers out there.

  • I agree with Steve. That is the most common use for transactions I know of. There should be about a zillion examples of that out there, including several in Books Online.

    ----------------------------------------------------------------------------------
    Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?

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

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