包含搜索多个单词

时间:2013-10-29 19:11:14

标签: sql sql-server sql-server-2008

我有一个SQL查询

SELECT *
FROM Search..searchProducts AS sp 
INNER JOIN
   CONTAINSTABLE(searchProducts , [description], '5 red rover') AS sp2
   ON sp2.[KEY] = sp.group_id
   WHERE sn2.RANK > 2
ORDER BY sn2.RANK DESC;

我收到错误但是我正试图让第一个查询像第二个

一样运行
select * from search..searchProduct where description like '%5 red rover%'

任何帮助都会非常感谢你。

0 个答案:

没有答案