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 2005 Forums
 Transact-SQL (2005)
 Full-Text search question

Author  Topic 

jnesbitt
Starting Member

1 Post

Posted - 2009-07-13 : 16:12:35
I'm issuing a full-text query that looks like the following.


SELECT Competitor, Category, Competitor_Part_Number, Competitor_Product_Name,
Competitor_Product_Description, Product_Name, Product_Description,
Product_Number_Primary, Product_Number_Secondary, category_id
FROM [Product_Upload_Archive]
WHERE CONTAINS (*, '"1234" or "2345" or "3456"...')


What I'm interested in now though, is which of those terms in the Contains clause do not match any row. Is there an efficient way to do this without have to search with each term individually?

Thanks
   

- Advertisement -