This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 请问SQL Server支不支持Keywords查询SQL Server中用Text字段(可以用其它类型)保存了文本内容, 想用关键字来查询该字段, 找出含这些关键字的记录。 我现在的笨办法是:
SELECT * FROM Table1 WHERE Text1 like '%Oralce%' and Text1 like '%C++%' ...
用没好点的方式达到相同的目的? 谢谢。
-xm1223(andy);
2006-12-8
{249}
(#3366560@0)
-
1.enable FULL-TEXT SEARCH in server. 2. build full-text index on TEXT filed. 3. use CONTAINS in query, SAME as LIKE.
-findinghouse(不写错别字。8);
2006-12-8
(#3366585@0)