Oracle9i OLAP User's Guide Release 2 (9.2.0.2) Part Number A95295-02 |
|
|
View PDF |
The following statements create a color attribute for the lowest level and long descriptions for all four levels of the PRODUCT_DIM
dimension.
execute cwm2_olap_level_attribute.create_level_attribute ('JSMITH', 'PRODUCT_DIM', 'Product Color', 'PRODUCT_LVL', 'Product Color', 'PROD_STD_COLOR', 'Prod Color', 'Product Color'); execute cwm2_olap_level_attribute.create_level_attribute ('JSMITH', 'PRODUCT_DIM', 'Long Description', 'PRODUCT_LVL', 'Long Description','PRODUCT_STD_LLABEL', 'Product', 'Long Labels for individual products of the PRODUCT hierarchy', TRUE); execute cwm2_olap_level_attribute.create_level_attribute ('JSMITH', 'PRODUCT_DIM', 'Long Description', 'PROD_SUBCATEGORY_LVL', 'Long Description', 'PROD_STD_LLABEL', 'Product Sub Category', 'Long Labels for subcategories of the PRODUCT hierarchy', TRUE); execute cwm2_olap_level_attribute.create_level_attribute ('JSMITH', 'PRODUCT_DIM', 'Long Description', 'PROD_CATEGORY_LVL', 'Long Description', 'PROD_STD_LLABEL', 'Product Category', 'Long Labels for categories of the PRODUCT hierarchy', TRUE); execute cwm2_olap_level_attribute.create_level_attribute ('JSMITH', 'PRODUCT_DIM', 'Long Description', 'TOTALPROD_LVL', 'Long Description', 'PROD_STD_LLABEL', 'Total Product', 'Long Labels for total of the PRODUCT hierarchy', TRUE);