Hi,I just created my first full text catalog and am trying to see how to create queries on it.I have 2 tables like these:Books:ID Title Date--- --------------------------------------------------------------- -----------1 Microsoft .NET Framework 2.0 Application Development Foundation 2009-11-172 Self paced trainging guide for your first certification 2008-12-313 Programming in Visual Basic .NET, 2005 Edition 2009-07-024 ActionScript 3.0 Game Programming University for beginners 2007-01-145 Windows Server 2008 Tomorrow's Technology, Today! 2010-01-01SearchTerms:ID Word--- ---------------1 Microsoft2 Programming3 Javascript
regularly I would use this type of concept:SELECT *FROM BooksWHERE Title IN ( SELECT Word FROM SearchTerms )
THIS OBVIOUSLY DOESN'T WORK HERE AND WOULDN'T RETURN ANY RESULTSSo I thought that I would try something like this:SELECT *FROM Books BWHERE CONTAINS(Title, ( SELECT Word FROM SearchTerms ) )
Hoping that it would return records 1,3,4 - but it didn't, I just got an errorDoes anyone know how to query something like this, I wasn't able to find anything on using sub queries with the CONTAINS keyword