qq_中伏_03231484
2016-06-23 23:38
我的代码为啥总是不能运行了 create trigger tri2 after update on emp begin if to_char(sysdate, 'day') in ('星期六', '星期日') or to_number(to_char(sysdate, 'hh24')) not between 8 to 16 then /*raise_application_error(-20013,'现在是非工作时间不可以添加任何的数据');*/ null; end if; null; end;
如果在命令行下,需要在结尾加:/
end; 后加 /
Oracle触发器
36913 学习 · 49 问题
相似问题