Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Req help comparing against CLOB?
Hello all.
Am trying to construct a SQL statment that compares a search term entered via a web form against an Oracle CLOB field. Trouble is, I get the following error :
Database error:
[SERVERERROR] Error from Server: ORA-00932: inconsistent datatypes
Currently, I've constructed my SQL like this :
select * from content where content_text LIKE '%$search_term%' ----- which gives me the above error. Could somebody please explain how to get around this?
Mucho thanks in advance,
Rich Gilmour Received on Mon Jul 19 1999 - 15:47:53 CDT
![]() |
![]() |