Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert - SQL slower in VFP9 than in VFP6???
Message
 
 
À
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:
01198420
Vues:
16
>>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?

That's very important. In out routine we open tables with different aliases. Also try insert into dbf('MyOut') from memvar

BTW, I saw today (from Rick's Borup blog) a pointer to a discussion about insert into ... from memvar and using different aliases. It didn't mention slowness, though. (on www.foxforum.com)
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