Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed of Insert to SQL Server
Message
From
16/12/1998 10:04:54
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00167949
Message ID:
00168038
Views:
27
Hi Nigel ---

Two suggestions before running:

1) Drop any INSERT triggers you may have defined for the SQL table.
2) Drop any clustered index you may have defined.

I, too, have VFP blow up in my face when doing mass inserts to remote tables. I've had to work in 200-1000 record chunks because of this.


>How can I speed up my inserting into SQL Server from VFP?
>
>I have tried creating and calling a remote stored procedure to do the insert but this goes the same speed as VFP inserting into a remote view. About one second per row. I have a test table of two and a half MILLION rows!!! The final version will need to insert between five and fifty thousand rows per day in a single transaction. I am fairly new to SQL Server (recently done the Implementation course). BTW, I am using 6.5 at the moment.
>
>Many thanks,
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform