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
System.OutOfMemoryExceptio<wbr />n when filling dataset with 655,000 rows - need workaround!!
Find Pivot Table's Name
Authentication for OWA in Exchange 2007 fails.
There is a(n) " in the form control's validationrule property
Install Office Small Business 2007 using .msi file
HP 4730 Mfp configure
Must Use An Updateable Query
GPO not applied Filtering (Uknown reason)
protecting decompiling of ocx in browser
Concatenate columns in Excel using Macro or VB Script