Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating SQL Server table
Message
De
09/03/2005 10:54:10
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Updating SQL Server table
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Divers
Thread ID:
00994024
Message ID:
00994024
Vues:
46
I need to insert 400,000 records from a VFP8 table into a Sql Server table nightly.

I have created an updatable remote view in my VFP DBC to this SQL Server table. I then update the Sql Server table as follows.
***
USE myRemoteView IN 0
USE myvfptable IN 0
SELECT myvfptable
SCAN
   SCATTER MEMVAR
   INSERT INTO myRemoteView FROM MEMVAR
ENDSCAN
***
All this works, but it takes a long time to complete. Is there a faster way to run this process? How can I speed this up>

Thanks,

Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform