Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database update, best practices
Message
De
25/01/2002 06:20:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/01/2002 17:42:07
Carol Dewar
Magram Computer Services Llc
Saugerties, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00610172
Message ID:
00610351
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
Well, what I do is keep an empty structure of the database (+ tables), copy everything to a temp directory, and issue APPEND FROM for each table. Additional considerations: 1) in the case of RI, the parent table has to be copied before the child tables. Otherwise (if the third RI column is "R") you get "trigger failed". 2) to speed things up, I do a detailed comparison of table structures. If the structures are identical, the table is copied with the COPY command.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform