Re: Fulltext syntax questions
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Fri, 22 Dec 2006 14:36:05 -0500
In SQL 2005 you do it like this
select * from tblname where contains((Col1,Col2), 'search')
in SQL 2000 you can query a single column by name or all fulltext indexed
columns with a *.
--
Hilary Cotter
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
"morphius" <morphius@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1B024DBC-EFED-448E-A688-562C83C5475B@xxxxxxxxxxxxxxxx
1. How do i search multiple columns in one table
Select name, jobtype, address from Clients
where contains|freetext (....?)
2. How do i search multiple columns in multiple tables. Do we still need a
join here or fulltext search will handle that?
Select a.name, a.jobtype, a.address, b.bonus
from a, b
where contains|freetext(....?)
.
- Follow-Ups:
- Re: Fulltext syntax questions
- From: Simon Sabin
- Re: Fulltext syntax questions
- Prev by Date: VERY Large Records and FT Indexing
- Next by Date: Re: sp_help_fulltext_columns takes 40secs to complete
- Previous by thread: VERY Large Records and FT Indexing
- Next by thread: Re: Fulltext syntax questions
- Index(es):
Relevant Pages
|
Loading