Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Using LIKE with a LONG field

Using LIKE with a LONG field

From: Kevin Blount <kevin_at_questionmark.com>
Date: 20 Aug 2002 13:40:03 -0700
Message-ID: <1511a6a5.0208201240.9819194@posting.google.com>


I'm trying to search through a LONG field which contains the description of an item in my database. However, when I use the following SQL Query I am told that I have 'inconsistant datatypes' when I run the Query (in ASP)

SELECT * FROM resources_objects WHERE resource_object_description LIKE '%string%'

Any idea how I can use LIKE with a LONG field? I'm pretty certain it's this LONG field type that's caussing the issue, as the same SQL Query with a different field type (VARCHAR2) works fine. Received on Tue Aug 20 2002 - 15:40:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US