我数据库中的触发器是这样的:
begin
update TM_ProS
set
HitsCount= HitsCount + 1
from inserted i
where TM_ProS.ID=i.ProID
end
不知道能否改成外键做联级触发?
我数据库中的触发器是这样的:
begin
update TM_ProS
set
HitsCount= HitsCount + 1
from inserted i
where TM_ProS.ID=i.ProID
end
不知道能否改成外键做联级触发?