Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update SQL table from VFP table
Message
De
28/08/2015 13:04:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Update SQL table from VFP table
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01623948
Message ID:
01623948
Vues:
69
Looking for a little bit of best practices, and a little bit of how to.

I need to update a SQL Server table with values from a VFP table.

Should I upload the VFP table to a temporary SQL cursor and SQLEXEC the update statement? How would upload the cursor and remove it when done?

Or should I download the SQL table to a VFP cursor,run the UPDATE statement in VFP, and post the results back to SQL? How would I post the updates back to SQL?

I know how to do this by SCANning the VFP table and updating a single record at a time, but I would prefer to avoid that overhead.

Chris.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform