G
Guest
Hi all,
I don't know how people deal with the issue in aspx pages:
Let's say you have a transaction through your aspx pages, in your
application program, you need to call different store procedures to insert
data to different tables. In case there is one store procedure call failed,
what would you do to other tables' data which already successfully insert
data to them?
It seems that you can create one store procedure to call all those store
procedures in database layer , in case one fails and you can rollback the
transactions,but it will have to pass to many parameters to that store
procedure, besides, what about you need to call one procedure many times
based on the application, (insert multiple rows to one table)?
In aspx page, what should I do, any special tech could make this one easy?
Any comments?
I don't know how people deal with the issue in aspx pages:
Let's say you have a transaction through your aspx pages, in your
application program, you need to call different store procedures to insert
data to different tables. In case there is one store procedure call failed,
what would you do to other tables' data which already successfully insert
data to them?
It seems that you can create one store procedure to call all those store
procedures in database layer , in case one fails and you can rollback the
transactions,but it will have to pass to many parameters to that store
procedure, besides, what about you need to call one procedure many times
based on the application, (insert multiple rows to one table)?
In aspx page, what should I do, any special tech could make this one easy?
Any comments?