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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Joining tables whilst using freetexttable

Author  Topic 

Spooky
Starting Member

3 Posts

Posted - 2002-02-04 : 21:00:49
Is it possible to search 2 similar tables using freetexttable on both?

eg :


Select
RANK,
ft.TOPIC_ID,
ft.T_SUBJECT,
ft.T_STATUS
FROM (freetexttable(FORUM_TOPICS,*,'Test Text') as t
join FORUM_TOPICS as ft on t.[key] = ft.TOPIC_ID)
order by RANK desc;


Id like to join another table ft.topic_id = fr.topic_id, but rank give an ambiguous column name.
It seems you cant use fr.rank and ft.rank - only rank?

Are there anyworkarounds or suggestions you can make so that 2 columns of each table can be searched? (Id prefer to have them ranked!)

tia

   

- Advertisement -