Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting VFP cursor
Message
From
17/09/2001 17:26:34
 
 
To
17/09/2001 17:11:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00557522
Message ID:
00557533
Views:
24
>I´m new using SQL server.
>
>I have a 20,000 records VFP cursor and I need to insert it into a SQL 2000 table
>
>Actually I´m using a table's remote view and I use "append from dbf('MyCursor')
>
>but it woks very slowly
>
>Is there a better option?
>
>TIA
>
>Carlos Restrepo

You can try either ADO or SQL-passthrough and a stored procedure on the server to insert the rows. ADO with the OLEDB provider will have a slight edge over SPT.

The key here is the use of a stored procedure, due to SQL's ability to have a precompiled execution plan.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform