Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Index problems, but not real.
Versions des environnements
Network:
Windows 2000 Server
Hello,
When a batch process is updating a VFP table, we often receive error messages like "Index does not match the table" or "Index is corrupted, pleased rebuild it", but when we check the table or index, there is no real problem.
Of course, the error makes another process abort.
How to wait for the table to be updated correctly and stop receiving those messagges? Concurrency is the problem here.
Some Try/Catch blocks inside a "Do While" help, but what is the best method to Retry an operation: Every second? N Times?
Thanks,
Juan C.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement