My Oracle Support Banner

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

Last updated on NOVEMBER 22, 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

 NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

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'.

Changes

 

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
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.