create trigger MessageUpdate
on bbs_Message
for update 
asdelete t
from bbs_Message t
join inserted I on t.MID=I.MID
where t.S_Del=1 and R_Del=1