Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert - SQL slower in VFP9 than in VFP6???
Message
 
 
To
23/02/2007 14:19:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01198068
Message ID:
01198420
Views:
17
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform