Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from
Message
 
To
26/01/2005 18:14:49
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00981011
Message ID:
00984544
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform