Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update date to a current date in the event of value changes
Message
De
15/06/2010 19:51:25
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Update date to a current date in the event of value changes
Divers
Thread ID:
01469101
Message ID:
01469101
Vues:
96
Hi All,
I have "nStndCost" field, that holds a Standard Cost of the product, and dStndCost (smalldatetime) field in my "Inventory" table.I want to make sure that if the value of the "nStndCost" field is changed by anyone, the dStndCost field (smalldatetime) will change its value to the current date time.
I cannot update field values it in the AFTER UPDATE trigger on the "Inventory" table. Where can I trigger the change?

Thank you
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform