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

Home -> Community -> Usenet -> c.d.o.server -> Re: Help with LIKE operator

Re: Help with LIKE operator

From: <Markz_at_starnet.lenfest.com>
Date: Fri, 17 Jul 1998 17:41:37 GMT
Message-ID: <35af8c54.11674517@news1.fast.net>


From the docs (Oracle7 Server SQL Reference Manual ) ... " LONG columns cannot appear in certain parts of SQL statements: WHERE, GROUP BY, ORDER BY, or CONNECT BY clauses or with the DISTINCT operator in SELECT statements"

You are trying to use it in a WHERE clause in direct violation of the rule above.

On Thu, 16 Jul 1998 13:15:00 GMT, mark.k.lamb_at_jpl.nasa.gov wrote:

>How can I accomplish pattern-matching on LONG or CLOB datatype fields.
>
>for example:
>SELECT * FROM table
>WHERE long_datatype_column LIKE '%TEXT%'
>
>When I try this I get an inconsistent datatypes error.
>
>Mark
>

MarK Z, 6b, rhymingly Received on Fri Jul 17 1998 - 12:41:37 CDT

Original text of this message

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