Solved

Full-Text Search on multiple tables

Posted on 2003-11-03
4
603 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

930 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

10 Experts available now in Live!

Get 1:1 Help Now