some of my data is getting overwritten by the update query i want to save my old data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Asharf
    New Member
    • Sep 2010
    • 1

    some of my data is getting overwritten by the update query i want to save my old data

    Some of my data is getting overwritten by the update query.
    I want to save my old data.

    So how can i save my old data?
    Last edited by Frinavale; Sep 9 '10, 02:03 PM. Reason: Added the description of the problem to the thread so that the question makes sense.
  • magicwand
    New Member
    • Mar 2010
    • 41

    #2
    write a BEFORE UPDATE trigger that copies the old value(s) into a history table with identical structure (plus update - date)

    Comment

    Working...