What is the technique to minotor update on a specific column of specific SQL table?

Answered What is the technique to minotor update on a specific column of specific SQL table?

  • Sunday, January 13, 2013 2:42 AM
     
     

    What is the technique to minotor update on a specific column of specific SQL table?

    I.e., I have a table named "tabkle1", inside it there are columns field_1-field_n. I want to monitor the field_2. if a SQL statement "update table1 set field_2=newvalue" is executed, I will log the date/time, old and new value, and where the statement comes from(IP or machine name). Maybe to a new table or somewhere.

All Replies