Oracle Solution for Error ora-30336

Solution for Oracle Error ORA-30336

ORA-30336: no child for specified JOIN KEY

What triggered the Error:

The level specified in the REFERENCES portion of a JOIN KEY clause in a dimension DDL statement does not have a child level.

What should we do to fix it:

Check the spelling of the level name referenced in the JOIN KEY clause. If the referenced level is the first level in the hierarchy, you need not and must not specify a JOIN KEY clause.