Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00610189
Message ID:
00611126
Vues:
26
Make sure you have table buffering (not row buffering) on the table you're writing to. That should fix the commit-each-record problem. Then you will have to do a manual TABLEUPDATE() after the APPEND FROM command to commit the change.
zahid

>That works OK, but I think it's actually doing an insert and commit for every record because it takes quite a while(one record every 1-4 seconds, >300,000 records). I'm looking into transactions with only one commit, but I'm not sure how much faster it would work. I'm trying to get something faster than the native(Ingres) "copy to flat file" and the native(Oracle) "copy into table from flat file". So far, appending is the simplest choice, but the slowest. Thanx though.
>
>>Don't know if this would be the fastest way but my first try would be:
>>
>>select rvView1
>>append from dbf(rvView2)
>>
>>Gerry
>>
>>
>> .Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform