Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Databases > SQL7 ADO transa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 926 of 986
Post > Topic >>

SQL7 ADO transactions

by Michael Kochendoerfer <mkn7413@[EMAIL PROTECTED] > Aug 3, 2006 at 10:16 PM

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
 




 1 Posts in Topic:
SQL7 ADO transactions
Michael Kochendoerfer <  2006-08-03 22:16:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 0:09:42 CDT 2008.