[thelist] MS SQL Using 'FormsOf(INFLECTIONAL, ) in a full-text search

Casey Crookston caseyc at IntelliSoftmn.com
Wed Aug 16 08:55:23 CDT 2006


Solved.

DECLARE @SearchWord nvarchar(4000)
SET @SearchWord = 'tax'
EXEC('SELECT listing_id, RANK, name, address, city, zip, heading, phone 
FROM listings a, 
FREETEXTTABLE(listings, *, ''FormsOf(INFLECTIONAL, '+ @SearchWord +')''
)
WHERE [KEY] = a.listing_id
ORDER BY RANK DESC, name')





More information about the thelist mailing list