Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append From vs. Insert - SQL
Message
From
30/07/1997 22:41:10
 
 
To
22/07/1997 20:21:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00041251
Message ID:
00042551
Views:
46
> I am presently working on an application that requires a 200,000 > record " > delimited file into VFP. I am using Append from to do this. But I have > heard that Insert - SQL works better and faster. The only example I > can > find shows how to do it with a single record. Is there a way to do it > with > multiple records? INSERT INTO will insert multiple records, but only if you're inserting from an array. And I haven't often dealt with arrays with 200K rows {g}. Yes, as suggested, the best option would be to stick with APPEND FROM. Of course, if you're seriously concerned about the speed, and you've gone to the steps of deleting the indexes and recreating them, and you're familiar with C, then you could write a routine to fire the information into the .DBF file a whole lot faster than FoxPro does. But it will take a reasonable understanding of the structures of the two files, and some care to ensure that the rows added to the .DBF follow the structure. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Reply
Map
View

Click here to load this message in the networking platform