Results 1 to 3 of 3

Thread: any way to undo processing?

  1. #1
    Join Date
    Jan 2003
    Posts
    14

    any way to undo processing?

    Hi,

    Is there any way to undo processing of a job other then using transaction?

    actually i want something like the rollback feature of transaction but is there any other way to do it?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Using BEGIN/COMMIT TRAN and ROLLBACK is the way to go.

    If you don't want to use it you will have to write your own utility to back out any changes you make. You will have to audit all changes to do this.

    Or if you are using ADO then you can do all the changes in disconnected recordset and after you are satisfied with the changes use update batch.


  3. #3
    Join Date
    Jan 2003
    Posts
    14
    Thanks alot for the help

    i tried implementing transaction but there seems to be some problems which i'm not if it's caused by transaction
    but i doubt so.

    the records are not sorted correctly, the date will be sorted something like 1,10,11...2,20,21 instead of 1,2,3..10,11...20,21

    which i strongly believe that there is nothing to do with transaction.

    i was told to remove the transaction and try to implement it another way.

    Thanks again
    adrian

Posting Permissions

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