GRANT ALL PRIVILEGES ON *.* TO 'root'@'218.12.50.60' IDENTIFIED BY 'jb51' WITH GRANT OPTION
flush privileges
本帖最后由 TasteOracle 于 2013-4-1 09:35 编辑写个登录触发器,限制UPPER(SYS_CONTEXT('USERENV','MODULE'))='EXP.EXE'的会话:
CREATE OR REPLACE TRIGGER LOGON_AUDIT
AFTER LOGON ON DATABASE
BEGIN
IF UPPER(SYS_CONTEXT('USERENV', 'MODULE')) IN ('IMP.EXE', 'EXP.EXE') THEN
RAISE_APPLICATION_ERROR(-20099, '权限已被锁定,请联系管理员!')
END IF
END
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)