Oracle DBMS_CUBE_PRVTEXP
Version 21c

General Information
Library Note Morgan's Library Page Header
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 but definitely for OLAP and likely related to cube export.
AUTHID CURRENT_USER
Dependencies
DBMS_CUBE_EXP EQUALS_PATH UNDER_PATH
DBMS_XDB RESOURCE_VIEW XMLTYPE
DBMS_ZHELP    
Documented No
First Available 20c
Security Model Owned with an SYS with EXECUTE granted to PUBLIC

Direct access to this package is prevented by means of an Accessible By clause.
Source {ORACLE_HOME}/olap/admin/olapipexxdb.plb
Subprograms
 
ANC_PATHS_CURSOR_ISOPEN (new 21c)
Undocumented dbms_cube_prvtexp.anc_paths_cursor_isopen RETURN BOOLEAN;
Protected with an ACCESSIBLE with an clause
 
CLOSE_ANC_PATHS_CURSOR (new 21c)
Undocumented dbms_cube_prvtexp.close_anc_paths_cursor;
Protected with an ACCESSIBLE with an clause
 
EXISTSRESOURCE (new 21c)
Undocumented dbms_cube_prvtexp.existsResource(ds_path IN VARCHAR2) RETURN BOOLEAN;
Protected with an ACCESSIBLE with an clause
 
FETCH_ANC_PATHS_CURSOR (new 21c)
Undocumented dbms_cube_prvtexp.fetch_anc_paths_cursor(
ds_anc_path OUT VARCHAR2,
notfound    OUT BOOLEAN);
Protected with an ACCESSIBLE with an clause
 
GET_DS_DOC (new 21c)
Undocumented dbms_cube_prvtexp.get_ds_doc(ds_path IN VARCHAR2) RETURN VARCHAR2;
Protected with an ACCESSIBLE with an clause
 
GET_OBJECT_GRANTS (new 21c)
Undocumented but appears to return

Protected with an an ACCESSIBLE with an clause
dbms_cube_prvtexp.get_object_grants(
obj_id       IN     NUMBER,
cascade      IN     BOOLEAN,
grantor         OUT VARCHAR2,
grantee         OUT VARCHAR2,
grant_option    OUT BINARY_INTEGER,
priv            OUT NUMBER,
obj_schema      OUT VARCHAR2,
obj_name        OUT VARCHAR2,
state        IN OUT BOOLEAN);
SELECT object_id
FROM dba_objects
WHERE object_name = 'PDB_ARC_SKIP$';

DECLARE
 b BOOLEAN := TRUE;
 x NUMBER;
 z dbms_id;
BEGIN
  dbms_cube_prvtexp.get_object_grants(261, b, z, z, x, x, z, z, b);
  dbms_output.put_line(z);
END;
/
dbms_cube_prvtexp.get_object_grants(261, b, z, z, x, x, z, z, b);
*
ERROR at line 6:
ORA-06550: line 6, column 3:
PLS-00904: insufficient privilege to access object DBMS_CUBE_PRVTEXP
ORA-06550: line 6, column 3:
PL/SQL: Statement ignored
 
GET_RESOURCE_NAME (new 21c)
Undocumented dbms_cube_prvtexp.get_resource_name(
ds_path IN VARCHAR2,
ds_doc  IN VARCHAR2)
RETURN VARCHAR2;
Protected with an ACCESSIBLE with an clause
 
OPEN_ANC_PATHS_CURSOR (new 21c)
Undocumented dbms_cube_prvtexp.open_anc_paths_cursor(path IN VARCHAR2);
Protected with an ACCESSIBLE with an clause

Related Topics
Built-in Functions
Built-in Packages
Database Security
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx