Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is faster: insert from memvar or insert fields?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01139366
Message ID:
01141043
Views:
18
>>>You're inserting multiple records in one INSERT, right?
>>
>>Yes, in this case multiple records (charges). Original code of my colleague used select and then scan, scatter/insert from memvar. I wrote it as one insert-SQL statement.
>
>If GUID generating SP is slow, going back to record by record processing and generating GUIDs before insert could be faster.

The only difference in "my" routine vs. GUID() routine that the API declaration done outside...
Anyway, I'll make a switch.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform