The Option Invert For Sort Command Is Not Recognized
Last updated on JUNE 29, 2012
Applies to:Oracle OLAP - Version 10.2.0.1 to 188.8.131.52 [Release 10.2 to 11.2]
Information in this document applies to any platform.
This is from olap dml reference:
SORT dimension [byhierarchy] [bycriterion...]
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]
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'.
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