ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Undocumented
AUTHID
CURRENT_USER
Dependencies
SELECT name FROM dba_dependencies WHERE referenced_name = 'KUPW$WORKER'
UNION
SELECT referenced_name FROM dba_dependencies WHERE name = 'KUPW$WORKER';
-- this query returns 90 rows
Documented
No
Exceptions
Error Code
Reason
ORA-39126
Worker unexpected fatal error in KUPW$WORKER.DISPATCH_WORK_ITEMS []
First Available
Not known
Security Model
Owned by SYS with EXECUTE granted to PUBLIC
Direct access to some objects in this package is prevented by means of an Accessible By clause.
exec kupw$worker.dispatch_work_items;
BEGIN kupw$worker.dispatch_work_items; END;
*
ERROR at line 1:
ORA-00900: invalid SQL statement
ORA-06512: at "SYS.KUPW$WORKER", line 30523
ORA-06512: at "SYS.KUPW$WORKER", line 30456
ORA-06512: at "SYS.KUPW$WORKER", line 35511
ORA-06512: at "SYS.KUPW$WORKER", line 13417
ORA-39126: Worker unexpected fatal error in
KUPW$WORKER.DISPATCH_WORK_ITEMS []
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 13383
ORA-06512: at "SYS.KUPW$WORKER", line 14824
ORA-00900: invalid SQL statement
ORA-06512: at "SYS.KUPW$WORKER", line 14401
ORA-06512: at line 1
A fascinating error because the "FROM" keyword, in the explicit select is clearly where it should be.
kupw$worker.fetch_unload_method(po_num IN NUMBER) RETURN NUMBER;
SELECT kupw$worker.fetch_unload_method(42) FROM dual;
SELECT kupw$worker.fetch_unload_method(42) FROM dual
*
ERROR at line 1:
ORA-00923: FROM keyword not found where expected
ORA-06512: at "SYS.KUPW$WORKER", line 36531
This procedures is protected by an ACCESSIBLE BY clause
kupw$worker.set_debug(debug_flags IN BINARY_INTEGER);
exec kupw$worker.set_debug(1);
BEGIN kupw$worker.set_debug(1); END;
*
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00904: insufficient privilege to access object SET_DEBUG