BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SQL7 ADO transactions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases
View previous topic :: View next topic  
Author Message
Michael Kochendoerfer
Guest





PostPosted: Fri Aug 04, 2006 3:16 am    Post subject: SQL7 ADO transactions Reply with quote



I have a question in general about transactions. I'm running D7 and SQL2K.
My application needs to open a query, generate some records in another
table, close the query and after that, doing some processing with the newly
created records along with other table data. This all should belong to one
(large) transaction - so if the latter processing fails, the former
creations should be also rolled back.

For this purpose, I'd like to start a transaction at the very beginning and
do a commit at the end. Between that, there are tables opened and closed
and I wonder how the transaction would behave in the case a table is being
written to and then it's closed within an open transaction. Should this be
possible?

As I cannot have multiple transactions within one TADOConnection, I need a
reliable way to accomplish this...

TIA,
Michael
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.