Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update date to a current date in the event of value chan
Message
 
 
To
15/06/2010 19:51:25
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01469101
Message ID:
01469169
Views:
54
This message has been marked as the solution to the initial question of the thread.
>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?

The AFTER UPDATE trigger is only place where you can do that.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform