Select Query with Nested View or Sql With "Order by" Clause Fails With ORA-600 [qctcte1] in 11.2.0.1 (Doc ID 1084463.1)

Last updated on FEBRUARY 07, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1.0 to 11.2.0.1.0 [Release 11.2]
Information in this document applies to any platform.

Symptoms

ORA-600 [qctcte1] signaled from query with nested view or sql with "Order by" clause.

For example :

SELECT COUNT(*) FROM
( SELECT date_column d1, char_column c1 FROM t1
  UNION ALL
  SELECT date_column d1, char_column c1 FROM t2
  ORDER BY c1 ASC, d1 DESC);

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