I'm trying to use the SQL tuning advisor with SQL Developer (versions 4.1.3.20 and 17.2.0.188). Queries using more than one instance of a bind variable, for example:
select * from dual where :one = :one;
are causing an error in the SQL Tuning Advisor:
-------------------------------------------------------------------------------
ERRORS SECTION
-------------------------------------------------------------------------------
- ORA-01008: not all variables bound
-------------------------------------------------------------------------------
Is there a workaround or some other method to get the same SQL tuning info for queries that have multiple instances of one or more bind variables?