Viewing post 1 (of 1 total)
Okay, this is what I came up with, it is pretty close to what I want:
CREATE TRIGGER orderclose ON dbo.WorkOrders
FOR INSERT, UPDATE
AS
IF UPDATE(OrderStatus)
BEGIN
UPDATE c SET DateCompleted = getdate()
FROM inserted i
INNER...
July 23, 2002 at 12:09 pm
#433248