March 21, 2002 at 10:46 am
I have two table, Monkey_Message & Monkey_BodyText, which are used for my forum. I am trying to set-up full text searching but I cannot for the life of me figure out the join to have both tables searched--especially since I am trying to return the ranking, which adds in two more tables. I basically want to be able to search both tables when I do a search, since one table contains a subject, and the other the body text.
SELECT FT.[Key],FT.Rank,FT2.Rank,MM.Message_id,mm.msgsubject
from containstable(Monkey_Message,MsgSubject,'floating') FT, Monkey_Message MM
--This is the table I can't get to join in there.
--join
--containstable(Monkey_BodyText,*,'floating') FT2, Monkey_BodyText MB
--where MM.Message_ID=FT. and MB.MessageID=FT2.
March 22, 2002 at 12:48 am
didn't you make a carthesian product in your first query (the join-predicate is missing) ?
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy