【发布时间】:2011-10-31 17:03:08
【问题描述】:
我跟随First Example 和Second Example 在Oracle 10g 中创建了Cube。
我尝试在 Oracle 10g 中使用查询重写机制创建多维数据集。
(仔细尝试使用分析工作区管理器创建,我们也遇到了错误,所以我们只使用查询重写机制)
我们成功创建了表“PRODUCTS” 我们还成功地为该表“PRODUCTS”创建了维度
但是当我们尝试为上面的“PRODUCTS”表创建属性时,如下所示
BEGIN
cwm_classify.remove_entity_descriptor_use(28, cwm_utility.DIMENSION_TYPE, 'SH', 'PRODUCTS');
COMMIT;
END
我们收到以下错误。
注意:我们在表格中也有数据
Error starting at line 1 in command:
begin
cwm_classify.remove_entity_descriptor_use(28, cwm_utility.DIMENSION_TYPE, 'SH', 'PRODUCTS');
commit;
end;
Error report:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.CWM$OLAP$DIMENSION", line 242
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "OLAPSYS.CWM$UTIL", line 368
ORA-01403: no data found
ORA-06512: at "OLAPSYS.CWM$CLASSIFY", line 322
ORA-06512: at "OLAPSYS.CWM$CLASSIFY", line 1198
ORA-06512: at line 2
06510. 00000 - "PL/SQL: unhandled user-defined exception"
*Cause: A user-defined exception was raised by PL/SQL code, but
not handled.
*Action: Fix the problem causing the exception or write an exception
handler for this condition. Or you may need to contact your
application administrator or DBA.
当我用谷歌搜索时,我得到的建议是我们必须在部署多维数据集之前部署 Dimension。
所以我正在尝试为此创建 OLAP 多维数据集,我需要在 Oracle 中部署维度表。 有什么方法可以部署Dimension吗?
建议我怎么做?
【问题讨论】:
标签: oracle olap olap-cube oracle-olap