在我的专栏中,我有单词,但是当我尝试搜索它'and'
时FormOF
不会搜索。
这是我的查询:
SELECT
DISTINCT
AttributeID, attribute_key, display_name, Segmentmaster.segmentname as SegmentName
FROM
AttributeMaster
LEFT JOIN
Segmentmaster ON Segmentmaster.segmentID = AttributeMaster.segmentId
WHERE
CONTAINS(attribute_key, 'FORMSOF (INFLECTIONAL, "and")' )
OR CONTAINS(display_name, 'FORMSOF (INFLECTIONAL, "and")' )
ORDER BY
AttributeID ASC
FormsOf
不是搜索SQL Server的关键字和特殊字符吗&,_,of ...
请指导我..