Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting data from a SDF file into an SQL table
Message
De
16/03/2001 13:40:51
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
16/03/2001 12:47:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00485992
Message ID:
00486030
Vues:
18
Kris,

Sure, but using FGETS() and then a lot of SUBSTRING() stuff don't sound like a "shortcut" to me - creating a cursor sounds a lot easier. YMMV.

>I have an SDF non-delimited text file which I am trying to parse and insert into an SQL table. Is it possible to read one line at a time from the text file into a long string variable and then parse it into smaller variables to be used in an insert statement?
>
>I know that I can append from the file into a foxpro table and then insert that table into SQL but there should be a shortcut of some kind I'm just not sure how to find it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform