Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is faster: insert from memvar or insert fields?
Message
 
 
À
28/07/2006 07:43:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01139366
Message ID:
01141043
Vues:
24
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform