时间:2021-07-01 10:21:17 帮助过:29人阅读
create or replace trigger forbid_ddl
before ddl on DATABASE
begin
--if ora_dict_obj_owner = ora_login_user then
-- return;
-- end if;
raise_application_error (-20000, ‘零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九零一二三四五六七八九‘);
end;
Oracle创建禁止DDL的触发器
标签:trigger data orb raise ora turn ica ict obj