Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Search for text within long field?`
"Craig Buchanan" <craibuc_at_hotmail.com> wrote in message
news:87910090.0106041200.122b6a9d_at_posting.google.com...
> Is there a way to search for a text string that might exist in a long
field?
>
> Something like
>
> SELECT text
> FROM all_views
> WHERE instr(text,'my search') > 0
>
> Thanks,
>
> Craig Buchanan
You'll need Oracle Intermedia, providing the contains operator to search in long text. Intermedia is shipped with the Enterprise Edition only.
Hth,
Sybrand Bakker, Oracle DBA Received on Mon Jun 04 2001 - 17:21:36 CDT
![]() |
![]() |