Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from
Message
 
À
26/01/2005 18:14:49
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00981011
Message ID:
00984544
Vues:
14
Joel, Another option
Take a look in Sql Book On-line for BULK INSERT command.
I never tryed but it must be something like:
SELECT YourVFPTable
COPY TO c:\Test.TXT DELIMITED WTH CHARACHTER "~"

sqlCommand = "BULK INSERT INTO YourSqlTable FROM 'c:\Test.TXT' WITH {FIELDTERMINATOR = '~', ROWTERMINATOR = '|\n'}

SQLEXEC(sqlHandler, sqlCommand)
But kkep in mind that with Bulk insert You can;t transform the Data.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform