Solved

Full-Text Search on multiple tables

Posted on 2003-11-03
4
602 Views
Last Modified: 2008-02-01
I have a query that searches for Forum Posts containing the search terms provided by the user.
I have enabled my MESSAGE field in the 'POSTS' table for full-text index and the search will work if I dont need to reference any values from any other tables, but the problem is, I need to bring in a number of other fields from different tables when my result is returned to the user, for example, the POSTS table has a USERID field that relates to the Users table, to identify who made the post. From this I want to return things like the USERNAME associated with each post returned from the search, where they live etc.
Is there any way this can be done bearing in mind that I am using a "FROM FREETEXTTABLE (Posts, Message, 'search term string here')" approach?
In the past, I would simply have a number of joins to each table I needed other info from, but now I'm using Full-Text I don't know how to join, or even if I can, the other tables for the additional information?

Any help would be much appreciated.

Thanks in advance.
0
Comment
Question by:Starnzy
  • 2
4 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9671240
Please maintain your open questions:

1 08/19/2003 60 Multiple User Controls - Enter Key submi...  Unlocked .NET
2 09/10/2003 50 IE Back Button after form posts to IFram...  Unlocked JavaScript
3 10/02/2003 75 Windows .NET Service - Permissions Probl...  Unlocked .NET

Thanks,
Anthony
0
 

Author Comment

by:Starnzy
ID: 9671371
acperkins: Sorry about that, I've been through them now (the 1st one in your list remains unsolved).
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9671442
Than close the question.

Nobody answered my question. What do I do?
http://www.experts-exchange.com/help/closing.jsp#5

Anthony
0
 

Accepted Solution

by:
kauf earned 25 total points
ID: 9744175
you should be able to add multiple tables & fields to one search catalog.
after that you can search the complete catalog through CONTAINS(*,'"search string"')
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now