Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
CREATE TRIGGER [dbo].[ApproveTimesheet] ON [dbo].[TIMESHEET_STATUS] AFTER UPDATE AS If (UPDATE(Approved)) BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; If (Approved) = True THEN -- Update if approved UPDATE dbo.TIMESHEET_STATUS SET DateApproved = GetDate() where RecordId = RecordId AND Approved = 1 ... do more stuff here Else -- Update if disapproved UPDATE dbo.TIMESHEET_STATUS SET DateApproved = NULL where RecordId = RecordId AND Approved = 0 ... do more stuff here End If END