My Oracle Support Banner

The Option Invert For Sort Command Is Not Recognized (Doc ID 1471999.1)

Last updated on JULY 16, 2019

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.