Why the error message is created, and the statement may not run properly?

Why the error message is created, and the statement may not run properly?
SQL> select sql_handle, plan_name, creator from dba_sql_plan_baselines where 
sql_text='select*from hr.jobs where min_salary>10000';
select sql_handle,plan_name,creator from dba_sql_plan_baselines 
where sql_text='select*from hr.jobs where min_salary>10000'
                                                                      *
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected - got CLOB

It is true that it is the problem of syntax. Change the increased as follows, the increased can run successfully:

SQL> select sql_handle,plan_name,creator from dba_sql_plan_baselines where sql_text
like 'select*from hr.jobs where min_salary>10000';

Edited by: jetq may 3, 2010 19:26

Tags: Database

Similar Questions

Maybe you are looking for