Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert - SQL slower in VFP9 than in VFP6???
Message
De
23/02/2007 15:05:11
 
 
À
23/02/2007 14:19:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01198068
Message ID:
01198437
Vues:
13
>>What happens if you open the table without the alias MyOUT?
>
>Wow. That was it...!
>
>If I don't use the Alias, the code executes just as fast as if I comment out the line to open the table. Is this documented somewhere? IOW, should I feel stupid on this one?
>
>Rick, Thanks for the suggestion. Anyone know why opening a table with an alias would cause the performance drop on the insert?

Glad that worked, but since you need the table opened with an alias and the insert into dbf('myout') didn't work, try changing the line at the top of your code:

lcInFile = "testout"

to:

lcInFile = "MyOUT"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform