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
Prevent printing if specific cells are empty
Make a jscript work in all versions of MS Internet Explorer like it works in Mozilla
Access 2007 error refreshing links to a BE with password
Microsoft File Transfer (MSDN) and SonicWALL TZ 210
How do I open MSMQ?
How to create List box in Excel. User can select one or more entries
count by columns
Mounted Drive (Supposedly) taking up all my Hard Drive space, how do I remove?
Need to be able to call up an ASIN function just like the one in Excel
Sharepoint