Oracle Error ORA-36019: (XSHIERCK11) The format of the HIERSHAPE function is: HIERSHAPE(relation[(qdr)] {level|ragged|skiplevel|regular} USING levelrel [INHIERARCHY inhvs] LEVELORDER levelvs)

Oracle Error Message

ORA-36019: (XSHIERCK11) The format of the HIERSHAPE function is: HIERSHAPE(relation[(qdr)] {level|ragged|skiplevel|regular} USING levelrel [INHIERARCHY inhvs] LEVELORDER levelvs)

Reason for the Error

The wrong object type or the wrong object definition was specified.

Solution

Change the object type or use the correct object definition.