Oracle Error “inconsistent datatypes: expected CHAR got LONG”
问题 I'm trying to run the following query to find views containing a given keyword: select * from ALL_VIEWS where OWNER = 'SALESDBA' and TEXT like '%rownum%'; I'm getting the following error message: ORA-00932: inconsistent datatypes: expected CHAR got LONG 00932. 00000 - "inconsistent datatypes: expected %s got %s" *Cause: *Action: Error at Line: 4 Column: 13 if I just select from ALL_VIEWS than I see the query (TEXT) in the TEXT field. What am I doing wrong here? 回答1: Your problem is that TEXT