PLSQL Definer Authority and Invoker Authority 3
来源:互联网 发布:梦幻西游mac快捷键 编辑:程序博客网 时间:2024/05/29 18:08
SQL> show user;ユーザーは"HR"です。
SET serveroutput ONCREATE OR REPLACE PROCEDURE proc1 authid current_user -- ←指定実行者権限IS v_ename VARCHAR2(20);BEGIN SELECT first_name INTO v_ename FROM hr.emp WHERE employee_id = 200; -- ←指定schema(変更点) dbms_output.put_line(v_ename);END;
SQL> show userユーザーは"ALLEN"です。
SQL> exec hr.proc1;BEGIN hr.proc1; END;*行1でエラーが発生しました。:ORA-00942: 表またはビューが存在しません。ORA-06512: "HR.PROC1", 行6ORA-06512: 行1
SQL> show user;ユーザーは"HR"です。
grant select on emp to allen;
SQL> show userユーザーは"ALLEN"です。
SQL> exec hr.proc1;JenniferPL/SQLプロシージャが正常に完了しました。
0 0
- PLSQL Definer Authority and Invoker Authority 3
- PLSQL Definer Authority and Invoker Authority
- PLSQL Definer Authority and Invoker Authority 2
- AUTHORITY-CHECK
- AUTHORITY-CHECK
- 深入挖掘一下definer and invoker 权限问题
- Public-key cyptography and what is certificate authority
- NT AUTHORITY/Authenticated Users
- NT AUTHORITY/NETWORK SERVICE
- NT AUTHORITY/LOCAL SERVICE
- User Authority Check...
- tomcat form authority
- authority-check实例
- 不同类型authority的获取
- authority-check实例
- User Authority Check... .
- Squery Authority check
- SMPTE Registration Authority, LLC
- Linux 进程通信-信号的使用
- PHP学习——数据类型之间相互转换
- 安卓网络请求库: Fast Android Networking
- Java复习之类与对象
- 快速排序
- PLSQL Definer Authority and Invoker Authority 3
- LINUX Read命令
- CALayer及动画
- python 测试框架nose
- 5,词根 - 走、跑、跳
- 如何成为一名优秀的软件架构师?(2017-02-01 Uncle Bob)
- 技术评审节点
- python 测试框架 unittest
- Pull is not possible because you have unmerged files错误解决!