Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using requery() in batch processing
Message
De
01/04/1999 09:50:29
 
 
À
01/04/1999 09:30:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00204217
Message ID:
00204229
Vues:
14
>I have a parametertized view with six fields and one where condition, and nothing else. It takes about .5 seconds to requery() it. Is that normal?
>

Gee... that depends on ALOT of stuff... machine speed, network speed, optimization level of query, etc, etc.

>Do most people just make normal views when they are processing records in batch and then use for condtitions and filters to limit the current data set?
>

If you are procesing ALOT of records in a process, you should create a view that contains all the records... process the view as you would a table with scan...endscan or replace for, whatever, then do a tableupdate().

This will be alot faster than querying one record at a time, processing it, update it, then query the next record.

>Thanks for everyones help! I've found most answers to be extremely insightful here, and I appreciated everyones time. :-)

HTH,
BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform