Viewing 4 posts - 1 through 4 (of 4 total)
Pradeep,
I appreciate your time very much. You have helped me a lot.
I don't get that result any more. I must have had something wrong. Now I get:
(1 row(s) affected)
(1...
December 15, 2008 at 11:34 am
Pradeep,
That worked! Thank you very much.
It only changed the one row but the messages look like it did much more. Is this ok?
(16134 row(s) affected)
(16134 row(s) affected)
(1 row(s)...
December 15, 2008 at 10:54 am
Thanks for the response.
I tried this:
ALTER TRIGGER test_delete ON test FOR UPDATE AS
IF UPDATE (deleteflag) BEGIN
UPDATE test SET deletedate = GETDATE()
FROM test,deleted,inserted
WHERE deleted.deleteflag <> inserted.deleteflag
END
It updated every...
December 15, 2008 at 10:44 am
Viewing 4 posts - 1 through 4 (of 4 total)