SQL Plan Baseline Not Working for Query with ORDER BY <num>
Last updated on APRIL 21, 2016
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
- A SQL Plan Baseline is created to control the plan for a query using ORDER BY with a position (ORDER BY 1 to sort by the first select list item, for example).
- The baseline is found not to work.
- The cursor_sharing parameter is set to FORCE (or SIMILAR).
- Display_sql_plan_baseline may throw ORA 1785
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