Oracle创建禁止DDL的触发器

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;

转载于:https://www.cnblogs.com/vanwoos/p/8446728.html

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
相关推荐
©️2020 CSDN 皮肤主题: 编程工作室 设计师:CSDN官方博客 返回首页