The Option Invert For Sort Command Is Not Recognized

(Doc ID 1471999.1)

Last updated on JUNE 29, 2012

Applies to:

Oracle OLAP - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

 This is from olap dml reference:

SORT command

Syntax

SORT dimension [byhierarchy] [bycriterion...]

where:

   byhierarchy is an optional phrase that uses a parent relation to arrange the order of values in the current status list of a hierarchical dimension or its dimension surrogate, or to assign values to a valueset, based on family relationships within the hierarchy. You can include only one byhierarchy phrase in a SORT statement. It must be the first phrase in a SORT statement.

   HIERARCHY parent-relation [INVERT] [DEPTH n] [SORTORPHANS]


INVERT

   Indicates that Oracle OLAP places the children in the hierarchy before their parents. (By default, children are placed after their parents.)

However, the following example which uses global AW sample fails:

->sort customer HIERARCHY CUSTOMER_FAMILYREL INVERT


ERROR: (ORA-33852) You provided extra input starting at 'INVERT'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms