Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare two tables
Message
De
05/10/1999 11:14:54
 
 
À
05/10/1999 09:32:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00272677
Message ID:
00272726
Vues:
19
As far as the logging idea goes, I would suggest putting a trigger on that table that automatically fires any time a record is updated/inserted/deleted. It could put in info such as user id, datetime stamp, old value, new value, etc.

I have done this before on an entire database, storing the table name as well. It works really well, and has also saved my butt a couple times when I was able to actually recreate the database after issuing some not so well thought out commands (like zap).

Instead of actually physically deleting records through my app, I put a deleted field in each table and tracked them that way. It makes it easier to track.

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform