Re: search error
- From: "John Kane" <jt-kane@xxxxxxxxxxx>
- Date: Sun, 17 Apr 2005 22:28:40 -0700
Tom,
You have multiple word or phrase search condition and you need to wrap both
words within double quotes, for example:
.... contains(jobdescription,'"Benefits clear"')
This will return the phrase "Benefits clear" in the FT-enable column
jobdescription, if this phrase exists in this column. You might find the
following KB article helpful too: 246800 (Q246800) "INF: Correctly Parsing
Quotation Marks in FTS Queries" at
http://support.microsoft.com//default.aspx?scid=kb;EN-US;246800
Regards,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/
"tshad" <tfs@xxxxxxxxxxxxxx> wrote in message
news:#R9kgF8QFHA.2132@xxxxxxxxxxxxxxxxxxxxxxx
> Why do I get the error:
>
> System.Data.SqlClient.SqlException: Syntax error occurred near 'clerk'.
> Expected ''''' in search condition 'Benefits clerk'.
>
> I get this from:
>
> ... contains(jobdescription,'Benefits clear')
>
> Thanks,
>
> Tom
>
>
.
- Follow-Ups:
- Re: search error
- From: tshad
- Re: search error
- References:
- search error
- From: tshad
- search error
- Prev by Date: search error
- Next by Date: Re: search error
- Previous by thread: search error
- Next by thread: Re: search error
- Index(es):
Relevant Pages
|
Loading