请教触发器的写法 时间触发触发器的作用是 在每天的 8点-11点 允许对表A进行增删改,其他时间不允许, 多谢多谢[解决办法]--第一句这样写 if datepart(hour,getdate()) not in (8,9,10,11) return