DBMS_SQLTUNE.CREATE_TUNING_TASK Gets "ORA-13780: SQL statement does not exist" for a Valid SQL_ID (Doc ID 1953429.1)

Last updated on JANUARY 12, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

You are using the DBMS_SQLTUNE.CREATE_TUNING_TASK function with a specific SQL_ID found in an AWR report but you receive ORA-13780 error, eg:

  

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