Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Can I turn 'set reprocess' off?
My app is updating a table that contains a numeric field counter. One user will update it to one then the next makes it two and so on. I check CURVAL
right before counter is updated to make sure I get the latest value. If two users try to update at the same time 'set reprocess' will just wait a bit
and retry. This is bad as now the counter has changed and the value I got from CURVAL is outdated. Can I turn set reprocess off so that the
update just fails and the user has to initiate the update process again (which will reload CURVAL)?
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