Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is faster: insert from memvar or insert fields?
Message
 
 
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:
01140945
Vues:
17
>>You're inserting multiple records in one INSERT, right?
>
>BTW, I have anover vague idea, but not sure how to implement it. Instead of calling LaunchAppAndWait for each record to convert memo to PDF, I need to write some batch file and then execute it. I hope it would be quicker...

I'm not sure I have a choice here. I recall I first create a temp text file, then use this file to convert to PDF, not directly from a text string. Lots of extra steps... I questioned today the validity of storing memo as PDF and got these answers:

1) We store memo as PDF because we're going to purge Stage tables ~ each six months and we don't want to keep them in our main tables to save space
2) We're using PDF because lots of other things are also stored as PDF...

===================
So, I guess there are not much chances of speeding this particular piece of code...
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