Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Let select more faster
Message
 
 
À
06/06/2006 02:57:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01127280
Message ID:
01127319
Vues:
9
How Num field is defined? If it's integer field, you may try BINTOC function instead of STR. Also make sure to get SP1 for VFP9. You may also try to use STR(num, 7) if, say, your Num is Numeric (7,0).

>hi all,
>
>my mstr table have more than 20000 records, every time i run this code under mean increase table mstr,
>this code take more one minute , is there any thing i must modify to make it faster.
>
>insert INTO mstr ;
> Select * From main2 Where ;
>  DtoS(file_date) + DtoS(intervdate)+Str(num) Not In ;
>   (Select  DtoS(file_date) + DtoS(intervdate)+Str(num) ;
>    From mstr)
>
>thanks
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform