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_MEASURE, 6 of 12


CREATE_MEASURE Procedure

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

A measure can only be created in the context of a cube. The cube must already exist before you create the measure.

Descriptions and display properties must also be established as part of measure creation. Once the measure has been created, you can override these properties by calling other procedures in this package.

Syntax

CREATE_MEASURE (
          cube_owner            IN   VARCHAR2,
          cube_name             IN   VARCHAR2,
          measure_name          IN   VARCHAR2,
          display_name          IN   VARCHAR2,
          short_description     IN   VARCHAR2,
          description           IN   VARCHAR2);

Parameters

Table 23-2 CREATE_MEASURE Procedure Parameters
Parameter Description

cube_owner

Owner of the cube.

cube_name

Name of the cube.

measure_name

Name of the measure.

display_name

Display name for the measure.

short_description

Short description of the measure.

description

Description of the measure.

Exceptions

Table 23-3 CREATE_MEASURE Procedure Exceptions
Exception Description

no_access_privileges

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

cube_not_found

Cannot create measure. Cube does not exist within the OLAP 2 Catalog.

measure_already_exists

Cannot create measure. This measure already exists for this cube.


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