Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Text Problem with special characters
"Peter Gervais" <pgervais_at_mtg.de> schrieb im Newsbeitrag
news:bvnq85$1tee$1_at_ulysses.news.tiscali.de...
> Hi everybody,
>
> we've a problem setting up our oracle Text index.
>
> If I'm looking for
>
> SELECT account_id
> FROM account
> WHERE CONTAINS( index_column1, '( %\&% ) ')>0
>
> I get all records from table account.
> What do I have to do to get only the records
> containg and '&' ?
> Any Idea
>
> thanks
> Peter
>
Hi.
"&" = Chr(38)
So what about
WHERE CONTAINS( index_column1, '( %'||Chr(38)||'% ) ')>0
hth, Jan Received on Tue Feb 03 2004 - 04:52:51 CST