Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple conditions

 
   Database Help (Home) -> Full Text RSS
Next:  SQL 2000 Full Text Search with Custom Thesaurus  
Author Message
Carlo

External


Since: Mar 04, 2008
Posts: 3



(Msg. 1) Posted: Fri Jul 25, 2008 2:11 am
Post subject: Multiple conditions
Archived from groups: microsoft>public>sqlserver>fulltext (more info?)

Hello

I'm not very familiar with fulltext search sintax, so I need your help..
In the contains statement I'd like to make a search like:
'FORMSOF (THESAURUS, "*long*") near FORMSOF (THESAURUS, "string*")'

but I get syntax error, any help?

 >> Stay informed about: Multiple conditions 
Back to top
Login to vote
Hilary Cotter

External


Since: Jan 16, 2008
Posts: 115



(Msg. 2) Posted: Wed Jul 30, 2008 3:40 am
Post subject: Re: Multiple conditions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can't combine operators like this and the wildcard is not
supported within the thesaurus option. The FreeText will do the
nearness/proximity and the thesaurus expansion, but it will not do the
wildcarding.

One thing you could do is expand long for each wildcard term you want
to find. IE have belongs an expansion of long, etc.



On Jul 25, 5:11 am, Carlo <Ca....TakeThisOut@discussions.microsoft.com> wrote:
> Hello
>
> I'm not very familiar with fulltext search sintax, so I need your help..
> In the contains statement I'd like to make a search like:
> 'FORMSOF (THESAURUS, "*long*") near FORMSOF (THESAURUS, "string*")'
>
> but I get syntax error, any help?

 >> Stay informed about: Multiple conditions 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
searching across multiple columns - Hi I've seen lots of posts on this subject but no satisfactory answers. I asked the question in 2004 before SQL 2005 arrived so I wondered if there is a neat solution to this problem now. I want a way to get return one row from the query below. ..

MULtiple columns search using Containstable. - I have atable called Books and contains following columns all varchar(2000) columns. Title,Comments,Reference,PLaceprinted etc. I want to search all these columns. for key word(s) entered by user. if user enters in a key word(s) GUI field e.g: "...

funny search results with 'contains' clause - hi, it is really funny how ft search works: it seems to depend highly on what could be indexed, but it still doesn't follow a determined order. consider the following queries: select name from person where contains(name, 'hammer') select name from..

Insert Into Without Log - Hi, Can I create an Insert Into Query without sql server registration log? Thx.

SQL 2K : custom word breaker ? - Hi, Is it possible to create a custom word breaker for SQLServer fulltext.... I use french word breaker, but for some specific tables, it's not exactly what I want... Seems such a dream will be feasible in SQL 2K5. Please anyone who knows, tell me the....
   Database Help (Home) -> Full Text All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]