Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 + Oracle 8i
Message
 
 
À
22/06/2000 01:02:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00383039
Message ID:
00383109
Vues:
15
>I have sqlsetpror('transac',2) in an apllic for transaction no automatic. When I insert rows into the oracle table and end the appl with sqldisconnect() (w/o send sqlcommit), or quit Vfp the rows inserted there was not deleted from the table. teoretically Oracle issue an implicit backout transcation and those rows disappear from the table.
>What's wrong. I appreciatte your help. thanks in advance

In Oracle, when a user disconnects with un-committed changes still in the buffer, an auto-commit is issued by Oracle. What the Manual Transaction feature does is allow you to rollback all the changes for all the SQL commands you have issued since the last ROLLBACK or COMMIT. So, the only way to NOT save changes is to explicitly issue a ROLLBACK command.

Conversely, if the Transaction is set to automatic, an implicit COMMIT is issued after EVERY SQL command you issue.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform