Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying a Table
Message
De
13/08/2003 18:04:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
13/08/2003 13:35:56
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00819865
Message ID:
00819956
Vues:
19
>If someone has my app opened and I need to modify a table I have to get everyone off the app so I can.
>
>I am in the process of re-writing my app to make it better. I will use views for the user to interface with instead of the tables directly.
>
>I still have the problem above with the views. How can I set this up so I can do modifications the tables while the app is in use?

I think you can't, but you can change the views while the database is in use.

Usually, I do structural changes at midnight, as follows.

I have 3 copies of the database. One is empty (all tables with zero records), and I originally do all changes there. The second copy is for the developer, where I do the actual testing. When everything works fine, I update the third copy, which is the production database.

For updating, I use a small program that basically copies the empty structure to a temporary location, and does APPEND FOR for each table.

For urgent updates, I also have a system for kicking users out of the system.

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