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
How to add resource file in VB.NET like C#
How to target search core results to an audience
Expanding Fields in MS Access Report
Deleting files from the Windows/Temp folder
When exporting Access 2003 report to Excel 2003, I get a message "File Error, Some number formats may have been lost." and my Date field is corrupted to a seemingly random number.
After Update in Access
Combine Publisher Files
Count specific records and place the sum value in a field
Create a Custom Configuration Section with a collection of elements
compact command syntax help