如何在Server 2008 Latin1_General_CI_AI中与全文搜索列一起使用“排序规则R2”。选择查询应该显示名为Andres.It的所有员工也应该包括带有重音的名称。
重音敏感性选项是为全文目录,它的工作,如果我使用类似操作符,但不工作的包含。
select firstName from Employees
where firstName COLLATE Latin1_General_CI_AI like '%Andres%'
结果
Andres
André
全文搜索
select firstName from Employees
where contains( FirstName , 'Andres')
结果
Andres
我试图修改表并更改列以整理Latin1_General_CI_AI,但没有成功。(我必须先从目录中删除该列,然后更改该列,然后重新构建目录)
ALTER TABLE Employees ALTER COLUMN firstname NVARCHAR(50) COLLATE Latin1_General_CI_AI
发布于 2015-02-24 14:51:01
你得关掉口音敏感度。不幸的是,这是优先于全文搜索。排序规则不像您所期望的那样使用。
https://stackoverflow.com/questions/28698421
复制相似问题