Data View Fails to Publish with ORDER BY Error on MSSQL (Doc ID 2138621.1)

Last updated on JUNE 29, 2016

Applies to:

Primavera Unifier - Version 9.7 and later
Primavera Unifier Cloud Service - Version 9.7 and later
Information in this document applies to any platform.

Symptoms

When attempting to publish a Data View, it fails with the following error:

The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries and common table expressions, unless TOP or FOR XML is also specified.

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