文档解释
ORA-30340: illegal dimension name
Cause: An illegal dimension name was specified in a dimension DDL statement.
Action: Make sure the name begins with a letter, contains only letters, digits and underscore and contains no more than 30 characters. If you qualify the name with the owner name, make sure the owner name conforms with the requirements for an owner name on your system.
ORA-30340: illegal dimension name 错误收到这个错误时,表示你创建或更新一个维度时,存在一个无效或不允许的维度名称。
官方解释
ORA-30340: illegal dimension name
Cause: An invalid or illegal dimension name was encountered in a Create or Update Dimension statement.
Action: A dimension name must start with a letter and must be at most 30 bytes long. Do not use special characters, double quotation marks, or system-reserved words.
常见案例
一般情况下,当开发者试图使用在Oracle数据库中非法命名维度字段时,就会引起这个错误。
一般处理方法及步骤
1、请检查维度字段名称是否符合规定,即必须以字母开头,长度不能超过30字节,不能包含特殊字符,不能使用双引号和系统保留字。
2、如果维度字段名称满足上述条件,可以尝试重新创建这个维度,或者尝试修改这个维度的定义。