Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loading data from text files.....???
Message
 
À
22/06/1999 12:26:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00232388
Message ID:
00232563
Vues:
22
>Hi Bruce ---
>

Hey, John, I see you have a new identity :)

>>Also, I might guess that a lot of Replaces/Substrs like that would take longer on a large file...
>
>Surprisingly, no. In the example I posted, I used APPEND and REPLACE just to "dumb down" the code...I hate masking the concept with overly complex example code. Generally, in the real world, I use INSERT INTO () VALUES (). The advantage to using low-level file interaction is that you can validate the data and structure of the file. Anyway, usually you have to massage the data into final form anyway, and not just do a direct import so it boils down to 1/2 dozen of one or 6 of the other.

In that case (using INSERT), you're definitely talking better load time...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform