We need to index and search on "(specific text here)".
How can we do a free text search using the above.
full text index your table on the columns you wish to search and then do
this
select * from tablename where freetext(*,'"(specific text here)")

Signature
RelevantNoise.com - dedicated to mining blogs for business intelligence.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> We need to index and search on "(specific text here)".
>
> How can we do a free text search using the above.
ChuSoft - 08 Sep 2007 01:08 GMT
Try it and it returns rows that does NOT have the "(some text here)".
It all rows that have "some text here"
> full text index your table on the columns you wish to search and then do
> this
[quoted text clipped - 4 lines]
>>
>> How can we do a free text search using the above.
Hilary Cotter - 08 Sep 2007 01:57 GMT
I am sorry I misunderstood you question. Basically the brackets are not
indexed and are ignored in searches.

Signature
RelevantNoise.com - dedicated to mining blogs for business intelligence.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> Try it and it returns rows that does NOT have the "(some text here)".
>
[quoted text clipped - 8 lines]
>>>
>>> How can we do a free text search using the above.
ChuSoft - 10 Sep 2007 16:57 GMT
Is there anyway to index and search on the phrase with brackets?
>I am sorry I misunderstood you question. Basically the brackets are not
>indexed and are ignored in searches.
[quoted text clipped - 11 lines]
>>>>
>>>> How can we do a free text search using the above.
Hilary Cotter - 11 Sep 2007 03:06 GMT
try this:
select * from tablename where freetext(*,'"(specific text here)"')
and charindex('"(specific text here)",MyColumn) >0

Signature
RelevantNoise.com - dedicated to mining blogs for business intelligence.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
> Is there anyway to index and search on the phrase with brackets?
>
[quoted text clipped - 13 lines]
>>>>>
>>>>> How can we do a free text search using the above.