码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-06-22 13:20:34      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:and   higher   select   use   before   only   int   ons   dba   

手动创建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": 标识符无效

标签:and   higher   select   use   before   only   int   ons   dba   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!