Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ORACLE, Commit and Rollback
Message
From
24/06/2002 13:33:09
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
 
 
To
22/06/2002 02:10:50
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00667236
Message ID:
00671749
Views:
24
Thanks Arnon,

I'll have a look at 'SAVEPOINT' in the Oracle Docs.

Paul


>If you put a single transaction (open and commit/rollback) then yes.
>But you can do that within your programs as well.
>
>If you want to increase your rollback granularity you'd probably be better off with setting SAVEPOINTs i.e.
>SAVEPOINT TABLEA
>INSERT INTO TABLEA...
>SAVEPOINT TABLEB
>INSERT INTO TABLEB
>
>ROLLBACK TO SAVEPOINT TABLEA //will rollback the 2 inserts
>ROLLBACK TO SAVEPOINT TABLEB //will rollback only the second insert
>I havn't tried that in VFP - but it works in ADO and should work with SQLEXEC
>
>Arnon
>>Hi Larry,
>>
>>Would putting the sql statements in an Oracle stored procedure restrict the rollback to the one table?
>>
>>Paul
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform