Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Again, troubles with CursorAdapter
Message
De
15/08/2003 23:13:08
 
 
À
15/08/2003 15:29:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00819734
Message ID:
00820701
Vues:
49
>If connection is closed while there is in an active transaction, driver commits changes.
>

Really? Do you mean if the connection is NORMALLY closed? I assume that's what you mean, cause if the connection to the server drops (pc dies) then I always thought the server rolled back.

I assume you mean if I do something like:
nConn = sqlconnect(connection)

SQLSetProp(nConn, "Transactions", DB_MANUAL)

SQLExec("INSERT INTO MYTABLE VALUES MYVALUES")

SQLDisq(nConn)
That the odbc driver will commit this? If so, interesting info.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform