Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed of Insert to SQL Server
Message
De
16/12/1998 10:04:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00167949
Message ID:
00168038
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform