Oracle Error ORA-16961: SQL statement with SQL patch is ignored

Oracle Error Message

ORA-16961: SQL statement with SQL patch is ignored

Reason for the Error

SQL statements with SQL patches are not supported by SQL tuning advisor.

Solution

Check the SQL patch information. Rerun SQL repair advisor on that SQL statement for a potential better SQL patch.