首页 > 其他 > 详细

ORA-00904: "WMSYS"."WM_CONCAT": 标识符无效

时间:2020-06-22 12:25:52      阅读:356      评论:0      收藏:0      [点我收藏+]

手动创建Function

SQL> @?/rdbms/admin/owmctab.plb
SQL> @?/rdbms/admin/owmaggrs.plb
SQL> @?/rdbms/admin/owmaggrb.plb

Before Oracle Database 12c, an Invoker Rights (IR) unit always ran with the privileges of its invoker.
If its invoker had higher privileges than its owner, then the IR unit might perform operations unintended by,
or forbidden to, its owner. As of Oracle Database 12c, an IR unit can run with the privileges
of its invoker only if its owner has either the INHERIT PRIVILEGES privilege on the invoker or the INHERIT ANY PRIVILEGES privilege.

 

GRANT INHERIT PRIVILEGES ON USER SYS TO public;

SQL> select owner,object_name,object_type from dba_objects where owner=‘WMSYS‘ and object_type =‘FUNCTION‘;

OWNER OBJECT_NAME OBJECT_TYPE
-------------------- ---------------------------------------- -----------------------
WMSYS WM_CONCAT FUNCTION

SQL>

ORA-00904: "WMSYS"."WM_CONCAT": 标识符无效

原文:https://www.cnblogs.com/elontian/p/13176147.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!