Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006
    Posts
    8

    Unanswered: is there a Trigger that monitors updated rows

    is there a Trigger that monitors updated rows? I would like to run a

    insert into sometable (pkcolumnname)
    select pkcolumnname from monitoredtable where ????


    "i dont know what goes here to only get value of rows that have been updated"

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Lookup the use of "inserted" and "deleted" tables in Books Online.
    There are no built-in functions to do this. You have to roll your own or pirate somone elses code, but implentations depend completely upon the preferences of the dba.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •