Jim,
Is it too obvious to add a note about buffering? Since TABLEUPDATE requires it?
Also, I understand that if you do issue ROLLBACK, it undoes the changes to the _original_ tables, but not the buffered table. So I issue TABLEREVERT after a ROLLBACK. Is that silly?
>It is a very good idea to keep BEGIN TRANSACTION and END TRANSATION/ROLLBACK as close to each other in the code as is possible to limit the amount of time that system resources are kept locked. Do all your calculations and stuff first, then BEGIN TRANS, do the TableUpdates() and finally END TRANS or ROLLBACK as appropriate.
Précédent
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