Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting VFP cursor
Message
De
17/09/2001 17:26:34
 
 
À
17/09/2001 17:11:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00557522
Message ID:
00557533
Vues:
15
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform