Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
syedtameem11
Starting Member
6 Posts |
Posted - 2009-02-16 : 01:34:04
|
| Hi,How can i use FreeTextTable and containstables for multiple tables in a query. Can anyone send me examples how to do it.Any help will be kindly appreciatedThanksSyed Tameemuddin |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-02-16 : 02:03:37
|
| http://www.developer.com/db/article.php/3446891 |
 |
|
|
nishita_s
Yak Posting Veteran
61 Posts |
Posted - 2009-02-16 : 02:03:42
|
| FREETEXTTABLE:USE Northwind;SELECT FT_TBL.CategoryName ,FT_TBL.Description ,KEY_TBL.RANKFROM dbo.Categories AS FT_TBL INNER JOIN FREETEXTTABLE(dbo.Categories, Description, 'sweetest candy bread and dry meat') AS KEY_TBL ON FT_TBL.CategoryID = KEY_TBL.[KEY];GOCONTAINSTABLEUSE Northwind;GOSELECT FT_TBL.CategoryName, FT_TBL.Description, KEY_TBL.RANK FROM Categories AS FT_TBL INNER JOIN CONTAINSTABLE(Categories, Description, 'ISABOUT (breads weight (.8), fish weight (.4), beers weight (.2) )' ) AS KEY_TBL ON FT_TBL.CategoryID = KEY_TBL.[KEY]ORDER BY KEY_TBL.RANK DESC;GO |
 |
|
|
|
|
|