Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT buffering and related parameters
Message
De
06/03/2006 02:09:08
 
 
À
05/03/2006 16:50:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01101595
Message ID:
01101642
Vues:
10
After having done some researches on the topic, I have found that SQLCommit() is used occasionnaly. So, the question I have is do I really need to issue SQLCommit() to have my data to be save immediately on disk when using the ODBC approach? Usually, I only do this:
This.nHandle=SQLStringConnect(This.cSQLStringConnect)
lnResult=SQLExec(This.nHandle,'UPDATE Member SET Rank=1 WHERE Numero=1')
The process works. The data is saved on disk but it is not instantly. Under my WWC setup, so far, I was using SYS(1104) to force the data to be written to disk immediately. Working with local data, this has always worked ok for me. But, since I changed to SPT, the data is not saved immediately on disk. SYS(1104) doesn't seem to have any effect with SPT. So, is SQLCommit() the solution here or there is something better?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform