This is great for comparing before and after states of your tables.
I save the max pk before and open a cursor for the before state, run the code with no commit, then after the run I open another with the after state. When all done comparing I rollback and I can run the same test again and again.