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

手动创建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>

猜你喜欢

转载自www.cnblogs.com/elontian/p/13176147.html