Error
Error Code:
ORA-30346
ORA-30346: Duplicate Hierarchy Name
Description
This error, ORA-30346, indicates that you attempted to create or alter a dimension in Oracle Database with multiple hierarchies sharing the same name. Hierarchy names within a single dimension must be unique to ensure proper data organization and retrieval.
Error Message
hierarchy name must be unique within a dimension
Known Causes
3 known causesTypographical Error
A simple typo in the hierarchy name during creation or modification can lead to unintended duplication. ⚠
Copy-Paste Error
Copying and pasting existing DDL scripts without careful modification can accidentally replicate hierarchy names. 💻
Lack of Naming Convention
Without a clear naming convention, developers may inadvertently choose the same name for different hierarchies. ⚙
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service