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 -> Upper, Longvarchar and RTF text

Upper, Longvarchar and RTF text

From: Sonnich Jensen <sonnich.jensen_at_jotautomation.com>
Date: Tue, 12 Jun 2007 02:56:51 -0700
Message-ID: <1181642211.298085.326060@j4g2000prf.googlegroups.com>


Hi!

I have this: select * from blaaah and upper(somefield) like '%EPLACED %'

somefield is of type LongVarchar, and contains text in RTF format. We are looking for the text "Replaced", which in most cases is "R\f1 eplaced".

The upper should help us out, for both "upper" and "like" I get an errors: expexted NUMBER got LONG.
It is a longvarchar.
Even select upper( the field) will cause that problem.

The text looks like eg:
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil
\fcharset186{\*\fname Arial;}Arial Baltic;}{\f2\fnil Arial;}}
\viewkind4\uc1\pard\lang1061\b\fs20 R\f1 EPLACED WITH ITEM xxxxxxx
\f2
\par }

Any ideas to overcome this?

BR
Sonnich Received on Tue Jun 12 2007 - 04:56:51 CDT

Original text of this message

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