Subject | Re: [ib-support] Commit/Rollback Reads? |
---|---|
Author | Helen Borrie |
Post date | 2001-10-10T10:06:01Z |
At 10:46 AM 10-10-01 +0100, you wrote:
If it's a metadata change, or a change to data, commit makes it permanent on the server, rollback undoes everything that happened inside your transaction's context since you started it.
cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>After running a select query in IBACCESS or IBQUERY I'm asked if I want toYes, your app code has to start and complete transactions.
>commit or rollback the transaction. A couple of questions..
>
>Do I have to do this in my app. code?
>What's the difference between committing and rolling back a select query?If it's just a select, there is no difference - either will complete the transaction and release the rows.
If it's a metadata change, or a change to data, commit makes it permanent on the server, rollback undoes everything that happened inside your transaction's context since you started it.
cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________