Microsoft
Software
Hardware
Network
Question : Trigger on record insert
Hello,
I want to write a trigger where as soon as a record has been inserted into the tablei have a field called 'DateAddedToDB' which i want to update with the day the record was added.
Im not familiar with triggers so im not really sure how to tackle it... any suggestions.
Thanks,
Answer : Trigger on record insert
Assuming that DateAddedToDB is in the same table then the best way to solve this problem is simply to add a DEFAULT value of GETDATE() to the DateAddedToDB.
Random Solutions
Recreate Deleted Computer Object
Access 2000 - Query Crteria Problem
Mutliple Zones when adding a webpart to a page
offline synchronized file Gone how to restore them?
Weird color change when switching from MS Excel to MS Access
MS Access 2007 - closing a table
How to tell if Windows server 2008 is in Native mode
Custom Ribbon vba tab selection
What is the MS Access 2007 version of this code?
Complex SQL Statement Help