Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About Trigger Update!
Message
De
23/05/1999 22:26:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
About Trigger Update!
Divers
Thread ID:
00221964
Message ID:
00221964
Vues:
34
I have a Staff Table with a DateTime field "UpdateTime",

Can I write a table Update Trigger to make a copy of non-update record with out "UpdateTime" in Same Table!?

i.e.

if user change the staff information, the staff table will KEEP the original record to add a New Record with UPdated information!

Then, the staff table have another field called "CurUse" Logic will turn to True for right the last updated record!

Currently, I can use update trigger to copy the record into new table
but it is too waste as only carry one more field on "UpdateTime"!!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform