I hate to say it, but my guess as to how to do this best would be to
copy your table to a backup table. Then, apply your data changes. To
roll back all you would have to do would be to drop or empty the
current table and restore the old backup. I would think that would be
the easiest way.