Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Table Buffering
Message
 
 
À
03/10/2001 15:02:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00563798
Message ID:
00563819
Vues:
17
>Can someone please tell me if there's a way to use information that has been stored in a table, but not yet committed. In other words, if I have a table that is buffered and I add records with quantities, then I do a SQL - SELECT for a sum of quantities, I only get quantities BEFORE buffering has been turned on. Actually, I want quantities (INCLUDING any changes which haven't been committed)...And, I need them before doing a TABLEUPDATE b/c I still want option to revert table to original state.
>
>I'm sure there should be a way, but can't figure it out.
>
>Thanks,
>
>Victor

SELECT SQL works with the table from disk, so instead of using SQL, you should use COUNT, SUM, SCAN ENSCAN command, which work with uncommited buffers.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform