Subject | Re: How to Terminate a Firebird Transaction |
---|---|
Author | dbambo2000 |
Post date | 2005-02-17T21:19:07Z |
Aage J wrote:
there so the individual updates were being committed.
Alan wrote:
use and which will group multiple queries or updates into one
transaction. I think that if you don't use this CFTRANSACTION tag
around all of the various updates, then each one is committed as it
completes.
Alan mentioned in a previous reply that I wasn't going about this in a
good way. I'm willing to admit that may be true. What in my approach
is incorrect or less than ideal? I have some very large databases in
which specific columns for every record need to be updated.
He also mentioned it would be a good idea to backup and restore this
database after stopping the CF server the way I did. How does this
help? I'm just trying to understand. What potential problem would
this overcome?
Thanks Aage and Alan!
>You can take a look while the process runs. If you can see updateddata
>(from another transaction), then the updates was committed.Yes. I looked while the process was running and the updated data was
there so the individual updates were being committed.
Alan wrote:
> Isn't your CF script running via ODBC? If so, then it will beI am using ODBC but CF has a tag called CFTRANSACTION which I did not
>running, by default, inside one implicit (page based) transaction.
>Unless you make explicit transaction calls to start/commit/rollback.
use and which will group multiple queries or updates into one
transaction. I think that if you don't use this CFTRANSACTION tag
around all of the various updates, then each one is committed as it
completes.
Alan mentioned in a previous reply that I wasn't going about this in a
good way. I'm willing to admit that may be true. What in my approach
is incorrect or less than ideal? I have some very large databases in
which specific columns for every record need to be updated.
He also mentioned it would be a good idea to backup and restore this
database after stopping the CF server the way I did. How does this
help? I'm just trying to understand. What potential problem would
this overcome?
Thanks Aage and Alan!