Skip Headers

Oracle9i OLAP User's Guide
Release 2 (9.2)

Part Number A95295-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

CWM2_OLAP_HIERARCHY , 6 of 13


CREATE_HIERARCHY Procedure

This procedure registers a new hierarchy entity in the OLAP 2 Catalog.

You must specify descriptions and display properties as part of hierarchy creation. Once the hierarchy has been created, you can override these properties by calling other procedures in the CWM2_OLAP_HIERARCHY package.

Syntax

CREATE_HIERARCHY (
          dimension_owner       IN   VARCHAR2,
          dimension_name        IN   VARCHAR2,
          hierarchy_name        IN   VARCHAR2,
          display_name          IN   VARCHAR2,
          short_description     IN   VARCHAR2,
          description           IN   VARCHAR2,
          solved_code           IN   VARCHAR2);

Parameters

Table 19-2 CREATE_HIERARCHY Procedure Parameters
Parameter Description

dimension_owner

Owner of the dimension.

dimension_name

Name of the dimension.

hierarchy_name

Name of the hierarchy.

display_name

Display name for the hierarchy.

short_description

Short description of the hierarchy.

description

Description of the hierarchy.

solved_code

Specifies whether or not the hierarchy includes embedded totals and whether it is mapped to a level-based dimension table or a parent/child dimension table.

Values for this parameter are:

  • UNSOLVED LEVEL-BASED, for a hierarchy that contains no embedded totals and is stored in a level-based dimension table
  • SOLVED LEVEL-BASED, for a hierarchy that contains embedded totals, has a grouping ID, and is stored in a level-based dimension table
  • SOLVED VALUE-BASED, for a hierarchy that contains embedded totals and is stored in a parent/child dimension table

Exceptions

Table 19-3 CREATE_HIERARCHY Procedure Exceptions
Exception Description

no_access_privileges

User does not have the necessary privileges. User must be the dimension owner and have the OLAP_DBA role.

dimension_not_found

The parent dimension does not exist within the OLAP 2 Catalog.

hierarchy_already_exists

This hierarchy already exists for this dimension.


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 2001, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback