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
Access Query Too Complex Error with Union Query
Windows XP - Strange Connection Issues (ping but can't browse)
SBS 2008: Cannot enable shadow clopies
URGENT - 2003 Server - this system does not permit you to logon interactivally
Excel interop
Need clarification on SMS to SCCM side by side upgrade
Problems when running VB.NET app as a scheduled task
Making custom PowerPoint template the default for all users
update query in access 2003 possible
Convert UCHAR[] to System::string