My Oracle Support Banner

Essbase 21c: Datasource Gives An Error For Queries With Order By (Doc ID 3048811.1)

Last updated on SEPTEMBER 25, 2024

Applies to:

Essbase for OCI Marketplace - Version 21.4.0.0.1 Marketplace and later
Hyperion Essbase - Version 21.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

When creating a Datasource with a SQL query containing ORDER BY, an error is shown.

Error:
"Parse error at line: 1, column: 31: The ORDER BY clause is not valid in views, inline functions, derived tables, sub-queries, and common table expressions, unless TOP or FOR XML is also specified.
"

Example:

Select * from [TBC].[dbo].[PRODUCT] order by 1,2

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
References


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