Page 1 of 1

insert/update into tables

Posted: Fri Dec 11, 2009 2:22 pm
by pandujoy
Hi ,

I am not sure how to go ahead with this issue...

I have 3 tables where i have to insert or update data into tables.

The problem i am having is if at all the job gets aborted due to the insert into the third table....can we roll back the trasaction (Insert) rows into first and second tables.

Appreciate your concern

Thanks

Posted: Fri Dec 11, 2009 2:24 pm
by pandujoy
Sorry forgot to mention i am using the odbc stages

Posted: Fri Dec 11, 2009 3:03 pm
by ray.wurlod
If you are using version 8.1 you can use a Distributed Transaction stage.

Posted: Fri Dec 11, 2009 4:54 pm
by chulett
I'd be curious if you need to roll back the entire set of transactions made up to that point or just the most recent one? And could you use a Server job for this task?