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 -> Oracle intermedia text select word only exclude others

Oracle intermedia text select word only exclude others

From: intermedia user <s_komarovsky_at_yahoo.com>
Date: 10 Dec 2002 14:47:40 -0800
Message-ID: <6088037f.0212101447.6295aa75@posting.google.com>


Hi,

I want to select all records from the table that has some word and its synonims in the subjects field.

select distinct subj_term from org_subj_terms where contains(subj_term,'syn(fish)')>0

The problem is I want to exclude records that also have other words.

For example I want to select records with subject fish
pets (synonym)

but exclude
records with fish equipment in the subject.

How it can be done?

thanks a lot. Received on Tue Dec 10 2002 - 16:47:40 CST

Original text of this message

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